package
1.24.0-dev
Repository: https://github.com/go-gitea/gitea.git
Documentation: pkg.go.dev

# Functions

Indent appends to dst an indented form of the JSON-encoded src.
Marshal converts object as bytes.
MarshalIndent copied from encoding/json.
NewDecoder creates a decoder to read objects from reader.
NewEncoder creates an encoder to write objects to writer.
Unmarshal decodes object from bytes.
UnmarshalHandleDoubleEncode - due to a bug in xorm (see https://gitea.com/xorm/xorm/pulls/1957) - it's possible that a Blob may be double encoded or gain an unwanted prefix of 0xff 0xfe.
Valid proxy to json.Valid.

# Variables

DefaultJSONHandler default json handler.

# Structs

JSONiter implements Interface via jsoniter.
StdJSON implements Interface via encoding/json.

# Interfaces

Decoder represents a decoder for json.
Encoder represents an encoder for json.
Interface represents an interface to handle json data.