Documentation ¶
Overview ¶
Package easyjson provides utilities for use with easyjson.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenericEJ ¶
type GenericEJ[T any] struct { Data T }
GenericEJ is a type that uses the stdlib json (un)marshaler to make any type compatible with easyjson by implementing the EasyJSON interfaces.
func (*GenericEJ[T]) MarshalEasyJSON ¶
MarshalEasyJSON marshals any type to json with use of the stdlib json pkg.
func (*GenericEJ[T]) UnmarshalEasyJSON ¶
UnmarshalEasyJSON unmarshals any type from json with use of the stdlib json pkg.
Click to show internal directories.
Click to hide internal directories.