Documentation ¶ Index ¶ func New() foundation.Json type Json func (j *Json) Marshal(v any) ([]byte, error) func (j *Json) MarshalString(a any) (string, error) func (j *Json) Unmarshal(data []byte, v any) error func (j *Json) UnmarshalString(s string, a any) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func New ¶ added in v1.15.12 func New() foundation.Json Types ¶ type Json ¶ type Json struct { // contains filtered or unexported fields } func (*Json) Marshal ¶ func (j *Json) Marshal(v any) ([]byte, error) func (*Json) MarshalString ¶ added in v1.15.12 func (j *Json) MarshalString(a any) (string, error) func (*Json) Unmarshal ¶ func (j *Json) Unmarshal(data []byte, v any) error func (*Json) UnmarshalString ¶ added in v1.15.12 func (j *Json) UnmarshalString(s string, a any) error Source Files ¶ View all Source files json.go Click to show internal directories. Click to hide internal directories.