{"id":46116930,"url":"https://github.com/g1mv/jsonic","last_synced_at":"2026-03-01T23:32:46.164Z","repository":{"id":64497924,"uuid":"575638276","full_name":"g1mv/jsonic","owner":"g1mv","description":"Fast, small JSON parsing library for rust","archived":false,"fork":false,"pushed_at":"2025-03-26T00:21:56.000Z","size":731,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-21T23:28:07.443Z","etag":null,"topics":["json","json-parser","library","parser","parsing","parsing-engine","parsing-library","rust","rust-lang"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/g1mv.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-12-08T00:55:35.000Z","updated_at":"2025-09-13T14:15:21.000Z","dependencies_parsed_at":"2024-03-17T05:43:43.074Z","dependency_job_id":"da77ceed-8b00-4fc9-b7a2-ef5a987dd5bf","html_url":"https://github.com/g1mv/jsonic","commit_stats":{"total_commits":21,"total_committers":1,"mean_commits":21.0,"dds":0.0,"last_synced_commit":"df887a04710a672e1297f8a7bf07363a907a79df"},"previous_names":["g1mv/jsonic"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/g1mv/jsonic","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g1mv%2Fjsonic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g1mv%2Fjsonic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g1mv%2Fjsonic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g1mv%2Fjsonic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/g1mv","download_url":"https://codeload.github.com/g1mv/jsonic/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g1mv%2Fjsonic/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29987698,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T22:42:38.399Z","status":"ssl_error","status_checked_at":"2026-03-01T22:41:51.863Z","response_time":124,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["json","json-parser","library","parser","parsing","parsing-engine","parsing-library","rust","rust-lang"],"created_at":"2026-03-01T23:32:45.723Z","updated_at":"2026-03-01T23:32:46.156Z","avatar_url":"https://github.com/g1mv.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jsonic\n\nFast, small JSON parsing library for rust with no dependencies\n\n[![MIT licensed](https://img.shields.io/badge/License-MIT-blue.svg)](./LICENSE-MIT)\n[![Apache-2.0 licensed](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](./LICENSE-APACHE)\n[![Crates.io](https://img.shields.io/crates/v/jsonic.svg)](https://crates.io/crates/jsonic)\n[![Build Status](https://github.com/g1mv/jsonic/actions/workflows/ci.yml/badge.svg)](https://github.com/g1mv/jsonic/actions)\n\n### Quick overview\n**jsonic** is a JSON parser. It aims at providing high-speed extraction of JSON data.\nIt does not convert JSON to structs at this stage.\n\n### Performance\nHere are some of the design choices for this library:\n\n* small-footprint data structures to speedup memory/cache access\n* object containers with hybrid data structures, using arrays to store low numbers of key/value pairs, and binary tree maps otherwise\n* binary tree maps insertion/fetch speed enhanced by use of fast hashing on keys\n* no data copying, source text data is never copied\n* type conversions done on a per-request basis\n\n**jsonic** does not make use of any particular instruction set/platform-specific optimization, so should have portable performance on all rust-compatible systems.\n\n### Example use\n\n```rust\nfn main() {\n    let json = \"{\\\"jsonic\\\": \\\"Fast, small JSON parsing library for rust with no dependencies\\\"}\";\n\n    match jsonic::parse(json) {\n        Ok(parsed) =\u003e { println!(\"Describe jsonic? {:?}\", parsed[\"jsonic\"].as_str()); }\n        Err(error) =\u003e { eprintln!(\"{}\", error); }\n    }\n}\n```\n\n### Benchmark\n\nTo get an overview of **jsonic**'s parsing performance compared to other JSON parsing engines written in rust, use ```cargo bench```.\n\nHere is a sample run on an Apple iMac M1, 8GB RAM, macOS Sonoma:\n\n```shell\n     Running benches/json-rust.rs (target/release/deps/json_rust-0d2370885fb224f4)\nTimer precision: 41 ns\njson_rust                               fastest       │ slowest       │ median        │ mean          │ samples │ iters\n╰─ parse                                              │               │               │               │         │\n   ├─ ./benches/data/canada.json        5.66 ms       │ 6.038 ms      │ 5.781 ms      │ 5.764 ms      │ 100     │ 100\n   ├─ ./benches/data/citm_catalog.json  2.028 ms      │ 2.309 ms      │ 2.05 ms       │ 2.055 ms      │ 100     │ 100\n   ╰─ ./benches/data/twitter.json       823.4 µs      │ 1.027 ms      │ 832 µs        │ 835.4 µs      │ 100     │ 100\n\n     Running benches/jsonic.rs (target/release/deps/jsonic-0031ab613974bf81)\nTimer precision: 41 ns\njsonic                                  fastest       │ slowest       │ median        │ mean          │ samples │ iters\n╰─ parse                                              │               │               │               │         │\n   ├─ ./benches/data/canada.json        2.519 ms      │ 3.089 ms      │ 2.549 ms      │ 2.565 ms      │ 100     │ 100\n   ├─ ./benches/data/citm_catalog.json  1.453 ms      │ 1.633 ms      │ 1.477 ms      │ 1.479 ms      │ 100     │ 100\n   ╰─ ./benches/data/twitter.json       555.3 µs      │ 658.9 µs      │ 560.5 µs      │ 563.2 µs      │ 100     │ 100\n\n     Running benches/serde_json.rs (target/release/deps/serde_json-b37e83074b30325e)\nTimer precision: 41 ns\nserde_json                              fastest       │ slowest       │ median        │ mean          │ samples │ iters\n╰─ parse                                              │               │               │               │         │\n   ├─ ./benches/data/canada.json        4.489 ms      │ 4.977 ms      │ 4.561 ms      │ 4.58 ms       │ 100     │ 100\n   ├─ ./benches/data/citm_catalog.json  2.177 ms      │ 2.961 ms      │ 2.223 ms      │ 2.231 ms      │ 100     │ 100\n   ╰─ ./benches/data/twitter.json       1.031 ms      │ 1.203 ms      │ 1.041 ms      │ 1.046 ms      │ 100     │ 100\n\n     Running benches/simd-json.rs (target/release/deps/simd_json-274159a472ebf0bc)\nTimer precision: 41 ns\nsimd_json                               fastest       │ slowest       │ median        │ mean          │ samples │ iters\n╰─ parse                                              │               │               │               │         │\n   ├─ ./benches/data/canada.json        5.494 ms      │ 6.828 ms      │ 5.709 ms      │ 5.716 ms      │ 100     │ 100\n   ├─ ./benches/data/citm_catalog.json  2.695 ms      │ 3.883 ms      │ 2.766 ms      │ 2.78 ms       │ 100     │ 100\n   ╰─ ./benches/data/twitter.json       1.114 ms      │ 1.726 ms      │ 1.127 ms      │ 1.162 ms      │ 100     │ 100\n\n     Running benches/sonic-rs.rs (target/release/deps/sonic_rs-0ab724f2d9eb477b)\nTimer precision: 41 ns\nsonic_rs                                fastest       │ slowest       │ median        │ mean          │ samples │ iters\n╰─ parse                                              │               │               │               │         │\n   ├─ ./benches/data/canada.json        4.104 ms      │ 4.794 ms      │ 4.196 ms      │ 4.217 ms      │ 100     │ 100\n   ├─ ./benches/data/citm_catalog.json  1.783 ms      │ 2.662 ms      │ 1.815 ms      │ 1.845 ms      │ 100     │ 100\n   ╰─ ./benches/data/twitter.json       817.2 µs      │ 1.025 ms      │ 834 µs        │ 834.5 µs      │ 100     │ 100\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fg1mv%2Fjsonic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fg1mv%2Fjsonic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fg1mv%2Fjsonic/lists"}