Documentation
¶
Overview ¶
Package jsonkey defines canonical JSON object member names for DSL map keys.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BooleanKeys = json.JoinOptions( json.WithMarshalers(json.MarshalToFunc[any](marshalBooleanKey)), json.WithUnmarshalers(json.UnmarshalFromFunc[any](unmarshalBooleanKey)), )
BooleanKeys extends JSON encoding and decoding with canonical boolean map keys, named "true" and "false". Boolean values and types with custom JSON or text representations retain the JSON library's behavior.
Functions ¶
func HasCustomEncoding ¶
HasCustomEncoding reports whether JSON serialization owns the type's representation. JSON v2 also checks pointer methods on addressable copies.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.