{"id":13652963,"url":"https://j-brooke.github.io/FracturedJson/","last_synced_at":"2025-04-23T06:30:59.242Z","repository":{"id":41425732,"uuid":"304152687","full_name":"j-brooke/FracturedJson","owner":"j-brooke","description":"FracturedJson is utility that formats JSON data producing highly readable but fairly compact output.","archived":false,"fork":false,"pushed_at":"2024-10-12T03:17:50.000Z","size":36983,"stargazers_count":55,"open_issues_count":0,"forks_count":5,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-04-17T09:22:02.969Z","etag":null,"topics":["beautify","formatter","json","jsonc","pretty-print"],"latest_commit_sha":null,"homepage":"","language":"C#","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/j-brooke.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2020-10-14T22:43:59.000Z","updated_at":"2025-03-11T08:50:13.000Z","dependencies_parsed_at":"2024-01-03T05:43:37.002Z","dependency_job_id":"67167dc0-6c86-4d11-81db-6f8fad33ab46","html_url":"https://github.com/j-brooke/FracturedJson","commit_stats":null,"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j-brooke%2FFracturedJson","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j-brooke%2FFracturedJson/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j-brooke%2FFracturedJson/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j-brooke%2FFracturedJson/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/j-brooke","download_url":"https://codeload.github.com/j-brooke/FracturedJson/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250384794,"owners_count":21421793,"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":["beautify","formatter","json","jsonc","pretty-print"],"created_at":"2024-08-02T02:01:04.426Z","updated_at":"2025-04-23T06:30:57.648Z","avatar_url":"https://github.com/j-brooke.png","language":"C#","funding_links":[],"categories":["Online tools"],"sub_categories":[],"readme":"# FracturedJson\n\nFracturedJson is a family of utilities that format [JSON data](https://www.json.org) in a way that's easy for\nhumans to read, but fairly compact.  Arrays and objects are written on single lines, as long as they're\nneither too long nor too complex.  When several such lines are similar in structure, they're written with\nfields aligned like a table.  Long arrays are written with multiple items per line across multiple lines.\n\nIt is available as a browser page, a .NET Standard 2.0 library, a Javascript package, and a Visual Studio Code extension.\n\nHere's a sample of output using default settings:\n```json\n{\n    \"SimpleArray\": [\n          2,   3,   5,   7,  11,  13,  17,  19,  23,  29,  31,  37,  41,  43,  47,  53,  59,  61,\n         67,  71,  73,  79,  83,  89,  97, 101, 103, 107, 109, 113\n    ],\n    \"ObjectColumnsArrayRows\": {\n        \"Katherine\": [\"blue\"      , \"lightblue\", \"black\"       ],\n        \"Logan\"    : [\"yellow\"    , \"blue\"     , \"black\", \"red\"],\n        \"Erik\"     : [\"red\"       , \"purple\"                   ],\n        \"Jean\"     : [\"lightgreen\", \"yellow\"   , \"black\"       ]\n    },\n    \"ArrayColumnsObjectRows\": [\n        { \"type\": \"turret\"   , \"hp\": 400, \"loc\": {\"x\": 47, \"y\":  -4}, \"flags\": \"S\"   },\n        { \"type\": \"assassin\" , \"hp\":  80, \"loc\": {\"x\": 12, \"y\":   6}, \"flags\": \"Q\"   },\n        { \"type\": \"berserker\", \"hp\": 150, \"loc\": {\"x\":  0, \"y\":   0}                 },\n        { \"type\": \"pittrap\"  ,            \"loc\": {\"x\": 10, \"y\": -14}, \"flags\": \"S,I\" }\n    ],\n    \"ComplexArray\": [\n        [19,  2],\n        [ 3,  8],\n        [14,  0],\n        [ 9,  9],\n        [ 9,  9],\n        [ 0,  3],\n        [10,  1],\n        [ 9,  1],\n        [ 9,  2],\n        [ 6, 13],\n        [18,  5],\n        [ 4, 11],\n        [12,  2]\n    ]\n}\n```\n\nIf enabled in the settings, it can also handle JSON-with-comments (which isn't real JSON).\n\n```jsonc\n{\n    /*\n     * Multi-line comments\n     * are fun!\n     */\n    \"NumbersWithHex\": [\n          254 /*00FE*/,  1450 /*5AA*/ ,     0 /*0000*/, 36000 /*8CA0*/,    10 /*000A*/,\n          199 /*00C7*/, 15001 /*3A99*/,  6540 /*198C*/\n    ],\n    /* Elements are keen */\n    \"Elements\": [\n        { /*Carbon*/   \"Symbol\": \"C\" , \"Number\":  6, \"Isotopes\": [11, 12, 13, 14] },\n        { /*Oxygen*/   \"Symbol\": \"O\" , \"Number\":  8, \"Isotopes\": [16, 18, 17    ] },\n        { /*Hydrogen*/ \"Symbol\": \"H\" , \"Number\":  1, \"Isotopes\": [ 1,  2,  3    ] },\n        { /*Iron*/     \"Symbol\": \"Fe\", \"Number\": 26, \"Isotopes\": [56, 54, 57, 58] }\n        // Not a complete list...\n    ],\n\n    \"Beatles Songs\": [\n        \"Taxman\"        ,  // George\n        \"Hey Jude\"      ,  // Paul\n        \"Act Naturally\" ,  // Ringo\n        \"Ticket To Ride\"   // John\n    ]\n}\n```\n\n\n## More Information\n\nPlease see the [project wiki](https://github.com/j-brooke/FracturedJson/wiki) for more information on what you can do and how to use the tools.  Or, visit the [browser-based formatter](https://j-brooke.github.io/FracturedJson/) to experiment.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/j-brooke.github.io%2FFracturedJson%2F","html_url":"https://awesome.ecosyste.ms/projects/j-brooke.github.io%2FFracturedJson%2F","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/j-brooke.github.io%2FFracturedJson%2F/lists"}