Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Marshal = json.Marshal Unmarshal = json.Unmarshal MarshalIndent = json.MarshalIndent Indent = json.Indent NewDecoder = json.NewDecoder NewEncoder = json.NewEncoder )
View Source
var ( EmptyStringBytes = []byte(`""`) NullBytes = []byte("null") )
Functions ¶
Types ¶
type Nullable ¶
type Nullable[T any] struct { // contains filtered or unexported fields }
func NewOptional ¶
func OptionalNull ¶
func (Nullable[T]) MarshalJSON ¶
func (*Nullable[T]) UnmarshalJSON ¶
type RawMessage ¶
type RawMessage = json.RawMessage
type Unmarshaler ¶
type Unmarshaler = json.Unmarshaler
Click to show internal directories.
Click to hide internal directories.