Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JType ¶
type JType[T J] struct { // contains filtered or unexported fields }
JType holds a generic J value. It can be used to marshal and unmarshal its value to and from JSON.
func (*JType[T]) MarshalJSON ¶
MarshalJSON helps implement the json.Marshaler interface.
func (*JType[T]) UnmarshalJSON ¶
UnmarshalJSON helps implement the json.Unmarshaler interface.
Click to show internal directories.
Click to hide internal directories.