{"full_name":"buger/jsonparser","owner":"buger","name":"jsonparser","shard":"1","url":"https://github.com/buger/jsonparser","description":"THE fastest alternative JSON parser for Go that does not require schema","homepage":"https://blog.reqproof.com/p/celebrating-ten-years-of-jsonparser","topics":["json","json-parser","go","perfomance","parser"],"tag_pages":["go","json","json-parser","parser"],"language":"Go","license":"MIT","avatar":"https://avatars.githubusercontent.com/u/14009?v=4","created_at":"2016-03-20T06:22:33Z","pushed_at":"2026-10-05T14:31:02Z","metrics":{"stars":5668,"forks":464,"watchers":96,"issues":139,"prs":147,"releases":12,"issues_open":1,"issues_closed":138,"prs_open":5,"prs_closed":43,"prs_merged":99,"discussions":0},"growth":{"day":{"stars":0,"forks":0,"base_day":"2026-11-15"}},"history":{"dates":["2026-11-10","2026-11-11","2026-11-12","2026-11-13","2026-11-14","2026-11-15","2026-11-16"],"stars":[5666,5666,5667,5667,5668,5668,5668],"forks":[463,463,463,463,464,464,464],"watchers":[null,96,96,96,96,96,96],"issues_open":[null,1,1,1,1,1,1],"prs_open":[null,4,4,4,4,5,5]},"boards":{},"same_owner":[],"issues":[{"number":288,"title":"Test failures for `TestOracleSetPr286Regression`","comments":0,"created_at":"2026-08-04T19:44:43Z"}],"discussions":[],"latest_release":{"name":"v1.6.1 — Fastest across all payload sizes (now benchmarks vs gjson + sonic)","tag":"v1.6.1","published_at":"2026-07-30T14:06:29Z","body":"## 🔒 Covered by [ReqProof](https://reqproof.com) — L3 Assurance (123 requirements, 0 errors, 0 warnings)\n\n## Performance — gjson-style fast-skip\n\nPorted gjson's `>'\\\\'` single-comparison fast-skip to three hot loops. The trick skips all non-structural bytes (those > 0x5C) in one unsigned comparison per byte, reducing branch overhead.\n\n| Payload | Before | After | Change |\n|---|---|---|---|\n| Small (190B) | 382 ns | **339 ns** | -11.3% |\n| Medium (2.4kB) | 3,899 ns | **3,141 ns** | -19.4% |\n| Large (24kB) | 20,788 ns | **20,114 ns** | -3.2% |\n\n## Now benchmarks against gjson and sonic\n\nAdded [tidwall/gjson](https://github.com/tidwall/gjson) (15.5k⭐) and [bytedance/sonic](https://github.com/bytedance/sonic) (9.6k⭐) to the benchmark suite.\n\n**Large payload — the definitive ranking:**\n\n| Library | time/op | allocs |\n|---|---|---|\n| **jsonparser** | **20,114 ns** | **0** |\n| gjson | 22,756 ns | 2 |\n| easyjson | 33,771 ns | 134 |\n| sonic | 41,053 ns | 71 |\n| ffjson | 59,063 ns | 144 |\n| encoding/json | 130,565 ns | 147 |\n\n**jsonparser is the fastest across ALL payload sizes** and the **only zero-allocation** parser.\n\n**Full changelog:** [CHANGELOG.md](https://github.com/buger/jsonparser/blob/master/CHANGELOG.md)","is_prerelease":false},"readme":true,"readme_zh":false,"news":[],"stale":false,"snapshot_at":"2026-11-16T09:23:14Z","history_start":"2026-09-06"}