Documentation ¶
Index ¶
Constants ¶
View Source
const InvalidID = ""
InvalidID is an invalid encoder id.
Variables ¶
View Source
var DefaultID = "0x954535"
DefaultID can be used with a SecureEncoderExtension instead of a set id. When used, it will be replaced with a randomly generated 8 character hex id for the encoder. #954535 is hex color code for Chestnut. https://en.wikipedia.org/wiki/Chestnut_(color)
Functions ¶
func NewEncoder ¶
func NewEncoder() jsoniter.API
NewEncoder returns a new encoder with a _clean_ configuration and _no_ registered extensions. Extensions registered to this encoder will not impact the global encoder. Config options match jsoniter ConfigCompatibleWithStandardLibrary.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.