#1 fastjson
Package fastjson provides fast JSON parsing.
Package gjson provides searching for json strings.
Health score 94/100, confidence 100/100.
| Latest version | v1.19.0 |
| Imported by | 10.4K packages |
| Stars | 15.5K |
| Forks | 897 |
| Last activity | 13 days ago |
| Latest release | Unknown |
| License | MIT |
| Known vuln records | 0 |
| Symbol | Kind | Synopsis |
|---|---|---|
| Result | Type | type Result struct{ ... } |
| Get | Function | func Get(json, path string) Result |
| GetBytes | Function | func GetBytes(json []byte, path string) Result |
| GetMany | Function | func GetMany(json string, path ...string) []Result |
| GetManyBytes | Function | func GetManyBytes(json []byte, path ...string) []Result |
| Parse | Function | func Parse(json string) Result |
| ParseBytes | Function | func ParseBytes(json []byte) Result |
| Result.All | Method | func (t Result) All() iter.Seq2[Result, Result] |
| Result.Array | Method | func (t Result) Array() []Result |
| Result.Bool | Method | func (t Result) Bool() bool |
| Result.Exists | Method | func (t Result) Exists() bool |
| Result.Float | Method | func (t Result) Float() float64 |
Package fastjson provides fast JSON parsing.
Package jsoniter implements encoding and decoding of JSON as defined in RFC 4627 and provides interfaces with identical syntax of standard lib encoding/json.
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.
JSON library to expose simple handlers that lets you easily read and write json from various sources.