extjson

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2018 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BsonToExtJSON

func BsonToExtJSON(canonical bool, bson []byte) (string, error)

BsonToExtJSON converts a BSON byte slice into an extended JSON string. If canonical is true, it will output canonical extended JSON. Otherwise, it will output relaxed extended JSON.

func ParseArrayToBuilder

func ParseArrayToBuilder(s string) (*builder.ArrayBuilder, error)

ParseArrayToBuilder parses a JSON array string into a *builder.ArrayBuilder.

func ParseObjectToBuilder

func ParseObjectToBuilder(s string) (*builder.DocumentBuilder, error)

ParseObjectToBuilder parses a JSON object string into a *builder.DocumentBuilder.

Types

This section is empty.

Jump to

Keyboard shortcuts

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