package
3.0.13+incompatible
Repository: https://github.com/mongodb/mongo-tools-common.git
Documentation: pkg.go.dev

# Functions

Compact appends to dst the JSON-encoded src with insignificant space characters elided.
HTMLEscape appends to dst the JSON-encoded src with <, >, &, U+2028 and U+2029 characters inside string literals changed to \u003c, \u003e, \u0026, \u2028, \u2029 so that the JSON will be safe to embed inside HTML <script> tags.
Indent appends to dst an indented form of the JSON-encoded src.
Marshal returns the JSON encoding of v.
MarshalIndent is like Marshal but applies Indent to format the output.
NewDecoder returns a new decoder that reads from r.
NewEncoder returns a new encoder that writes to w.
Unmarshal parses the JSON-encoded data and stores the result in the value pointed to by v.
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Represents base-64 encoded binary data.
Refers to a document in some namespace by wrapping a string containing the namespace and the objectId in which the _id of the document is contained.
Represents a reference to another document.
No description provided by the author
A Decoder reads and decodes JSON objects from an input stream.
An Encoder writes JSON objects to an output stream.
An InvalidUnmarshalError describes an invalid argument passed to Unmarshal.
Before Go 1.2, an InvalidUTF8Error was returned by Marshal when attempting to encode a string value with invalid UTF-8 sequences.
No description provided by the author
No description provided by the author
Represents the literal MaxKey.
Represents the literal MinKey.
Represents a regular expression.
A SyntaxError is a description of a JSON syntax error.
Represents a timestamp value.
Represents the literal undefined.
An UnmarshalFieldError describes a JSON object key that led to an unexported (and therefore unwritable) struct field.
An UnmarshalTypeError describes a JSON value that was not appropriate for a value of a specific Go type.
An UnsupportedTypeError is returned by Marshal when attempting to encode an unsupported value type.
No description provided by the author

# Interfaces

Marshaler is the interface implemented by objects that can marshal themselves into valid JSON.
Unmarshaler is the interface implemented by objects that can unmarshal a JSON description of themselves.

# Type aliases

Represents the number of milliseconds since the Unix epoch.
No description provided by the author
No description provided by the author
A Number represents a JSON number literal.
Represents a signed 64-bit float.
Represents a signed 32-bit integer.
Represents a signed 64-bit integer.
No description provided by the author
RawMessage is a raw encoded JSON object.