{"id":21401440,"url":"https://github.com/spoonx/ezon","last_synced_at":"2025-07-22T14:34:06.021Z","repository":{"id":143879182,"uuid":"87397191","full_name":"SpoonX/ezon","owner":"SpoonX","description":"Easy-syntax JSON parser.","archived":false,"fork":false,"pushed_at":"2017-04-06T07:14:38.000Z","size":2,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-13T21:37:16.742Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/SpoonX.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2017-04-06T07:03:12.000Z","updated_at":"2022-03-06T03:53:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"4784918b-da38-4e7c-a87c-7d04648187e0","html_url":"https://github.com/SpoonX/ezon","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SpoonX/ezon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpoonX%2Fezon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpoonX%2Fezon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpoonX%2Fezon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpoonX%2Fezon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SpoonX","download_url":"https://codeload.github.com/SpoonX/ezon/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpoonX%2Fezon/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266510687,"owners_count":23940696,"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","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-22T15:27:46.181Z","updated_at":"2025-07-22T14:34:05.998Z","avatar_url":"https://github.com/SpoonX.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EZON\n\n\u003e E-z (easy) Object Notation.\n\n## Installation\n\n`npm i --save ezon`\n\n## Usage\nSome working examples.\n\n### Basic\n\nThese all produce the same output `{ hello: 'world', bacon: 'truth' }`.\n\n```js\nconst ezon = require('ezon');\n\n// Actual json\nezon('{\"hello\": \"world\", \"bacon\": \"truth\"}');\n\n// No curly braces\nezon('\"hello\": \"world\", \"bacon\": \"truth\"');\n\n// Messing around with the quotes\nezon(`hello: 'world', 'bacon': truth`);\n\n// Whatever this is..\nezon(`{hello:world, bacon: 'truth'}`);\n\n// Bare minimum\nezon('hello:world,bacon:truth');\n```\n\n### Key default\n\nWhen key and value are the same, you may only supply the key.\n\n```js\nconst ezon = require('ezon');\n\n// Produces { foo: 'foo', cake: 'cake', hello: 'world', bacon: 'bacon' }\nezon('foo,cake,hello:world,bacon');\n```\n\n### Configured key default\n\n```js\nconst ezon = require('ezon');\n\n// Produces { message: 'bacon', hello: 'world' }\nezon('foo,cake,hello:world,bacon', {defaultKey: 'message'});\n\n// Well, what did you expect? You can only use the same key once.\n```\n\n## Known limitations\n\nAt the moment, ezon doesn't support nested objects due to lacking support for recursion in javascript regex.\n\n## License\n\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspoonx%2Fezon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspoonx%2Fezon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspoonx%2Fezon/lists"}