Documentation
¶
Index ¶
Constants ¶
View Source
const FALSE = 57347
View Source
const NULL = 57348
View Source
const NUMBER = 57349
View Source
const OPERATOR = 57353
View Source
const PLACEHOLDER = 57350
View Source
const STRING = 57352
View Source
const SUB_PARSER = 57351
View Source
const TRUE = 57346
Variables ¶
This section is empty.
Functions ¶
func AppendMarshal ¶
AppendMarshal does the same as Marshal but appends the JSON encoding to buf.
func Marshal ¶
Marshal returns the JSON encoding of v. It differs from encoding/json.Marshal as it only handles map[string]any, []any, bool, float64, string, nil and encoding/json.Marshaler values. It also accepts "invalid" JSON data returned by MarshalJSON method.
Types ¶
type Placeholder ¶
Click to show internal directories.
Click to hide internal directories.