json

package
v0.0.0-...-50a54d8 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2023 License: MIT Imports: 1 Imported by: 0

README

总结

建议用原生的

  1. 原生的包小(相差2.3M);
  2. 性能不是很差(内存没有比较);

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Marshal

func Marshal(v interface{}) ([]byte, error)

func SetProvider

func SetProvider(i Ijson)

func Unmarshal

func Unmarshal(data []byte, v interface{}) error

Types

type Ijson

type Ijson interface {
	Marshal(v interface{}) ([]byte, error)
	Unmarshal(data []byte, v interface{}) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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