{"id":13476060,"url":"https://github.com/getty-zig/json","last_synced_at":"2025-06-30T15:33:25.423Z","repository":{"id":37355376,"uuid":"384948428","full_name":"getty-zig/json","owner":"getty-zig","description":"A (de)serialization library for JSON","archived":false,"fork":false,"pushed_at":"2024-06-24T13:42:17.000Z","size":23244,"stargazers_count":78,"open_issues_count":3,"forks_count":10,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-19T20:48:22.879Z","etag":null,"topics":["json","serialization","zig"],"latest_commit_sha":null,"homepage":"https://getty-zig.github.io/json/","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/getty-zig.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}},"created_at":"2021-07-11T12:59:09.000Z","updated_at":"2025-04-05T13:45:52.000Z","dependencies_parsed_at":"2023-02-18T21:30:48.466Z","dependency_job_id":"79aaa6be-1dde-46d4-8838-155803896b20","html_url":"https://github.com/getty-zig/json","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/getty-zig/json","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getty-zig%2Fjson","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getty-zig%2Fjson/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getty-zig%2Fjson/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getty-zig%2Fjson/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/getty-zig","download_url":"https://codeload.github.com/getty-zig/json/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getty-zig%2Fjson/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262800881,"owners_count":23366459,"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","serialization","zig"],"created_at":"2024-07-31T16:01:26.229Z","updated_at":"2025-06-30T15:33:25.392Z","avatar_url":"https://github.com/getty-zig.png","language":"Zig","funding_links":[],"categories":["Zig","File format processing"],"sub_categories":["Linker"],"readme":"\u003cbr/\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"Getty\" src=\"https://github.com/getty-zig/logo/blob/main/getty-solid.svg\" width=\"410px\"\u003e\n  \u003cbr/\u003e\n  \u003cbr/\u003e\n  \u003ca href=\"https://github.com/getty-zig/json/releases/latest\"\u003e\u003cimg alt=\"Version\" src=\"https://img.shields.io/github/v/release/getty-zig/json?include_prereleases\u0026label=Version\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://ziglang.org/download\"\u003e\u003cimg alt=\"Zig\" src=\"https://img.shields.io/badge/Zig-master-fd9930.svg\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://getty-zig.github.io/json\"\u003e\u003cimg alt=\"API Reference\" src=\"https://img.shields.io/badge/API-Reference-7a73ff.svg\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/getty-zig/json/actions/workflows/test.yml\"\u003e\u003cimg alt=\"Build status\" src=\"https://img.shields.io/github/actions/workflow/status/getty-zig/json/test.yml?branch=main\u0026label=Build\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/getty-zig/json/blob/main/LICENSE\"\u003e\u003cimg alt=\"License\" src=\"https://img.shields.io/badge/License-MIT-blue\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## Overview\n\n_Getty JSON_ is a (de)serialization library for the JSON data format.\n\n## Installation\n\n1. Declare Getty JSON as a project dependency with `zig fetch`:\n\n    ```sh\n    zig fetch --save git+https://github.com/getty-zig/json.git#\u003cCOMMIT\u003e\n    ```\n\n2. Expose Getty JSON as a module in your project's `build.zig`:\n\n    ```zig\n    pub fn build(b: *std.Build) void {\n        const target = b.standardTargetOptions(.{});\n        const optimize = b.standardOptimizeOption(.{});\n\n        const opts = .{ .target = target, .optimize = optimize };   // 👈\n        const json_mod = b.dependency(\"json\", opts).module(\"json\"); // 👈\n\n        const exe = b.addExecutable(.{\n            .name = \"my-project\",\n            .root_source_file = .{ .path = \"src/main.zig\" },\n            .target = target,\n            .optimize = optimize,\n        });\n        exe.root_module.addImport(\"json\", json_mod); // 👈\n\n        // ...\n    }\n    ```\n\n3. Import Getty JSON into your code:\n\n    ```zig\n    const json = @import(\"json\");\n    ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetty-zig%2Fjson","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgetty-zig%2Fjson","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetty-zig%2Fjson/lists"}