Documentation
¶
Index ¶
- Variables
- func AllowDuplicateNames(allow bool) json.Options
- func Deterministic(v bool) json.Options
- func Marshal(in any, opts ...json.Options) (out []byte, err error)
- func MarshalEncode(out *jsontext.Encoder, in any, opts ...json.Options) (err error)
- func MarshalIndent(in any, prefix, indent string) (out []byte, err error)
- func MarshalIndentWrite(out io.Writer, in any, prefix, indent string) (err error)
- func MarshalWrite(out io.Writer, in any, opts ...json.Options) (err error)
- func NewDecoder(r io.Reader) *jsontext.Decoder
- func Unmarshal(in []byte, out any, opts ...json.Options) (err error)
- func UnmarshalDecode(in *jsontext.Decoder, out any, opts ...json.Options) (err error)
- func UnmarshalRead(in io.Reader, out any, opts ...json.Options) (err error)
- func WithIndent(indent string) json.Options
- type Decoder
- type Encoder
- type Kind
- type MarshalerTo
- type UnmarshalerFrom
- type Value
Constants ¶
This section is empty.
Variables ¶
View Source
var ( BeginObject = jsontext.BeginObject EndObject = jsontext.EndObject Null = jsontext.Null BeginArray = jsontext.BeginArray EndArray = jsontext.EndArray )
Functions ¶
func AllowDuplicateNames ¶
func Deterministic ¶
func MarshalEncode ¶
func MarshalIndentWrite ¶
func UnmarshalDecode ¶
func WithIndent ¶
Types ¶
type MarshalerTo ¶
type MarshalerTo = json.MarshalerTo
type UnmarshalerFrom ¶
type UnmarshalerFrom = json.UnmarshalerFrom
Click to show internal directories.
Click to hide internal directories.