package
0.0.0-20240815175050-ebd3a8989ca1
Repository: https://github.com/go-json-experiment/json.git
Documentation: pkg.go.dev
# Constants
AllArshalV1Flags is the set of all v1 marshal/unmarshal flags.
AllArshalV2Flags is the set of all v2 marshal/unmarshal flags.
AllCoderFlags is the set of all encoder/decoder flags.
AllFlags is the set of all flags.
encode or decode.
encode or decode.
AnyWhitespace reports whether the encoded output might have any whitespace.
encode or decode; non-boolean flag.
encode only; for internal use by jsontext.Value.Canonicalize.
DefaultV1Flags is the set of booleans flags that default to true under v1 semantics.
encode or decode; non-boolean flag.
marshal only.
marshal only.
encode only.
encode only.
marshal or unmarshal.
marshal only.
marshal only.
marshal or unmarshal.
marshal or unmarshal.
encode only; non-boolean flag.
encode only; non-boolean flag.
marshal only; non-boolean flag.
marshal or unmarshal.
marshal or unmarshal.
unmarshal.
encode only.
NonBooleanFlags is the set of non-boolean flags, where the value is some other concrete Go type.
marshal.
encode only; for internal use by json.Marshal and json.MarshalWrite.
encode only; for internal use by jsontext.Value.Canonicalize.
unmarshal.
unmarshal only.
marshal or unmarshal.
marshal or unmarshal.
encode only.
encode only.
marshal or unmarshal.
marshal or unmarshal.
unmarshal; for internal use by jsonv1.Decoder.UseNumber.
unmarshal.
unmarshal only; non-boolean flag.
WhitespaceFlags is the set of flags related to whitespace formatting.
encode or decode; for internal use by json.Marshal and json.Unmarshal.
# Type aliases
Bools represents zero or more boolean flags, all set to true or false.