json

package
v0.2.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 30, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package json provides Use json-iterator instead of encoding/json by "-tags=jsoniter" Use go-json instead of encoding/json by "-tags=gojson" Use sonic instead of encoding/json by "-tags=sonic", requirements: avx, linux/windows/darwin, amd64

Index

Constants

This section is empty.

Variables

View Source
var (
	// Marshal is exported by component-base/pkg/json package.
	Marshal = json.Marshal
	// Unmarshal is exported by component-base/pkg/json package.
	Unmarshal = json.Unmarshal
	// MarshalIndent is exported by component-base/pkg/json package.
	MarshalIndent = json.MarshalIndent
	// NewDecoder is exported by component-base/pkg/json package.
	NewDecoder = json.NewDecoder
	// NewEncoder is exported by component-base/pkg/json package.
	NewEncoder = json.NewEncoder
)

Functions

This section is empty.

Types

type RawMessage

type RawMessage = json.RawMessage

RawMessage is exported by component-base/json package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL