mejson

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 27, 2015 License: BSD-3-Clause Imports: 8 Imported by: 0

README

mejson

library for transforming a mongo's bson into the mongodb extended json format

mongodb extended json format?

Yes, it's a thing: http://docs.mongodb.org/manual/reference/mongodb-extended-json

Documentation

Index

Constants

View Source
const ISO8601 = "2006-01-02T15:04:05.999999999-0700"

RFC3339Nano with a numeric zone

Variables

This section is empty.

Functions

func Marshal

func Marshal(in interface{}) (interface{}, error)

func Unmarshal

func Unmarshal(m map[string]interface{}) (result bson.M, err error)

Types

type I

type I interface{}

type M

type M map[string]interface{}

type Mejson

type Mejson map[string]interface{}

type S

type S []interface{}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL