kubernetes/vendor/github.com/json-iterator/go/config.go

type Config

type API

var ConfigDefault

var ConfigCompatibleWithStandardLibrary

var ConfigFastest

type frozenConfig

func (cfg *frozenConfig) initCache() {}

func (cfg *frozenConfig) addDecoderToCache(cacheKey uintptr, decoder ValDecoder) {}

func (cfg *frozenConfig) addEncoderToCache(cacheKey uintptr, encoder ValEncoder) {}

func (cfg *frozenConfig) getDecoderFromCache(cacheKey uintptr) ValDecoder {}

func (cfg *frozenConfig) getEncoderFromCache(cacheKey uintptr) ValEncoder {}

var cfgCache

func getFrozenConfigFromCache(cfg Config) *frozenConfig {}

func addFrozenConfigToCache(cfg Config, frozenConfig *frozenConfig) {}

// Froze forge API from config
func (cfg Config) Froze() API {}

func (cfg Config) frozeWithCacheReuse(extraExtensions []Extension) *frozenConfig {}

func (cfg *frozenConfig) validateJsonRawMessage(extension EncoderExtension) {}

func (cfg *frozenConfig) useNumber(extension DecoderExtension) {}

func (cfg *frozenConfig) getTagKey() string {}

func (cfg *frozenConfig) RegisterExtension(extension Extension) {}

type lossyFloat32Encoder

func (encoder *lossyFloat32Encoder) Encode(ptr unsafe.Pointer, stream *Stream) {}

func (encoder *lossyFloat32Encoder) IsEmpty(ptr unsafe.Pointer) bool {}

type lossyFloat64Encoder

func (encoder *lossyFloat64Encoder) Encode(ptr unsafe.Pointer, stream *Stream) {}

func (encoder *lossyFloat64Encoder) IsEmpty(ptr unsafe.Pointer) bool {}

// EnableLossyFloatMarshalling keeps 10**(-6) precision
// for float variables for better performance.
func (cfg *frozenConfig) marshalFloatWith6Digits(extension EncoderExtension) {}

type htmlEscapedStringEncoder

func (encoder *htmlEscapedStringEncoder) Encode(ptr unsafe.Pointer, stream *Stream) {}

func (encoder *htmlEscapedStringEncoder) IsEmpty(ptr unsafe.Pointer) bool {}

func (cfg *frozenConfig) escapeHTML(encoderExtension EncoderExtension) {}

func (cfg *frozenConfig) cleanDecoders() {}

func (cfg *frozenConfig) cleanEncoders() {}

func (cfg *frozenConfig) MarshalToString(v interface{}

func (cfg *frozenConfig) Marshal(v interface{}

func (cfg *frozenConfig) MarshalIndent(v interface{}

func (cfg *frozenConfig) UnmarshalFromString(str string, v interface{}

func (cfg *frozenConfig) Get(data []byte, path ...interface{}

func (cfg *frozenConfig) Unmarshal(data []byte, v interface{}

func (cfg *frozenConfig) NewEncoder(writer io.Writer) *Encoder {}

func (cfg *frozenConfig) NewDecoder(reader io.Reader) *Decoder {}

func (cfg *frozenConfig) Valid(data []byte) bool {}