{"id":23958179,"url":"https://github.com/lawrence-laz/jaysan","last_synced_at":"2025-07-02T21:05:32.043Z","repository":{"id":270409378,"uuid":"859583876","full_name":"lawrence-laz/jaysan","owner":"lawrence-laz","description":"A fast json serializer","archived":false,"fork":false,"pushed_at":"2025-01-22T22:42:49.000Z","size":26,"stargazers_count":11,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-13T05:53:08.919Z","etag":null,"topics":["json","json-serializer","zig","zig-package"],"latest_commit_sha":null,"homepage":"","language":"Zig","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lawrence-laz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2024-09-18T23:20:56.000Z","updated_at":"2025-01-02T16:43:37.000Z","dependencies_parsed_at":"2024-12-31T00:19:48.898Z","dependency_job_id":"a5c38093-f473-4199-8c3d-2c87158cfc81","html_url":"https://github.com/lawrence-laz/jaysan","commit_stats":null,"previous_names":["lawrence-laz/jaysan"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lawrence-laz/jaysan","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lawrence-laz%2Fjaysan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lawrence-laz%2Fjaysan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lawrence-laz%2Fjaysan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lawrence-laz%2Fjaysan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lawrence-laz","download_url":"https://codeload.github.com/lawrence-laz/jaysan/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lawrence-laz%2Fjaysan/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263215288,"owners_count":23431894,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-serializer","zig","zig-package"],"created_at":"2025-01-06T17:29:52.239Z","updated_at":"2025-07-02T21:05:31.922Z","avatar_url":"https://github.com/lawrence-laz.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n  \u003cimg src=\"https://upload.wikimedia.org/wikipedia/commons/thumb/c/c9/JSON_vector_logo.svg/160px-JSON_vector_logo.svg.png\" width=\"64\"\u003e\u003cbr\u003e\n  Jayさん\n  \u003cbr\u003e\n\u003c/h1\u003e\n\nJaysan is a fast json library written in Zig. Currently supports serialization only.\n\n```zig\nvar gpa = std.heap.GeneralPurposeAllocator(.{}){};\n\nconst Foo = struct {\n    foo: i32,\n    bar: []const u8,\n};\n\nconst string = try json.stringifyAlloc(\n    gpa.allocator(),\n    Foo{\n        .foo = 123,\n        .bar = \"Hello, world!\",\n    },\n);\n\n// {\"foo\":123,\"bar\":\"Hello, world!\"}\n```\n\n```md\nBenchmark 1: zig-stdjson\n  Time (mean ± σ):     141.9 ms ±   1.1 ms    [User: 140.4 ms, System: 1.0 ms]\n  Range (min … max):   140.1 ms … 144.1 ms    20 runs\n\nBenchmark 2: zig-jaysan\n  Time (mean ± σ):      46.8 ms ±   1.3 ms    [User: 46.2 ms, System: 0.4 ms]\n  Range (min … max):    43.1 ms …  49.2 ms    61 runs\n\nBenchmark 3: rust-serde\n  Time (mean ± σ):      46.9 ms ±   0.9 ms    [User: 45.8 ms, System: 0.9 ms]\n  Range (min … max):    45.9 ms …  50.9 ms    62 runs\n\nSummary\n  zig-jaysan\n    1.00 ± 0.03 times faster than rust-serde\n    3.03 ± 0.09 times faster than zig-stdjson\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flawrence-laz%2Fjaysan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flawrence-laz%2Fjaysan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flawrence-laz%2Fjaysan/lists"}