#1 go-json
Fast JSON encoder/decoder compatible with encoding/json for Go
Package jsoniter implements encoding and decoding of JSON as defined in RFC 4627 and provides interfaces with identical syntax of standard lib encoding/json.
Health score 71/100, confidence 100/100.
| Latest version | v1.1.12 |
| Imported by | 17.7K packages |
| Stars | 13.9K |
| Forks | 1.1K |
| Last activity | 2 years ago |
| Latest release | v1.1.12 (4 years ago) |
| License | MIT |
| Known vuln records | 0 |
| Symbol | Kind | Synopsis |
|---|---|---|
| API | Type | type API interface{ ... } |
| API.DecoderOf | Method | DecoderOf func(typ reflect2.Type) ValDecoder |
| API.EncoderOf | Method | EncoderOf func(typ reflect2.Type) ValEncoder |
| API.Get | Method | Get func(data []byte, path ...interface{}) Any |
| API.Marshal | Method | Marshal func(v interface{}) ([]byte, error) |
| API.MarshalIndent | Method | MarshalIndent func(v interface{}, prefix, indent string) ([]byte, error) |
| API.MarshalToString | Method | MarshalToString func(v interface{}) (string, error) |
| API.NewDecoder | Method | NewDecoder func(reader io.Reader) *Decoder |
| API.NewEncoder | Method | NewEncoder func(writer io.Writer) *Encoder |
| API.RegisterExtension | Method | RegisterExtension func(extension Extension) |
| API.Unmarshal | Method | Unmarshal func(data []byte, v interface{}) error |
| API.UnmarshalFromString | Method | UnmarshalFromString func(str string, v interface{}) error |
Fast JSON encoder/decoder compatible with encoding/json for Go
Package fastjson provides fast JSON parsing.
Package codec provides a High Performance, Feature-Rich Idiomatic Go codec/encoding library for binc, msgpack, cbor, json.
Fast JSON encoder/decoder compatible with encoding/json for Go
Package fastjson provides fast JSON parsing.
Package codec provides a High Performance, Feature-Rich Idiomatic Go codec/encoding library for binc, msgpack, cbor, json.
Generate TypeScript interfaces from Go structs/interfaces. Useful for JSON RPC.
An opinionated production-ready RESTful JSON backend template, highly integrated with VSCode DevContainers.