{"id":20605837,"url":"https://github.com/nouemankhal/go-json-parser","last_synced_at":"2026-05-18T03:32:16.549Z","repository":{"id":232091691,"uuid":"776599702","full_name":"NouemanKHAL/go-json-parser","owner":"NouemanKHAL","description":"Go solution for the Build Your Own JSON Parser Coding Challenge by John Crickett","archived":false,"fork":false,"pushed_at":"2024-04-07T21:59:19.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-04T05:15:32.477Z","etag":null,"topics":["go","json","lexer","parser"],"latest_commit_sha":null,"homepage":"https://codingchallenges.fyi/challenges/challenge-json-parser","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NouemanKHAL.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}},"created_at":"2024-03-24T00:14:00.000Z","updated_at":"2024-04-07T22:00:52.000Z","dependencies_parsed_at":"2024-04-07T23:44:00.493Z","dependency_job_id":null,"html_url":"https://github.com/NouemanKHAL/go-json-parser","commit_stats":null,"previous_names":["nouemankhal/go-json-parser"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NouemanKHAL/go-json-parser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NouemanKHAL%2Fgo-json-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NouemanKHAL%2Fgo-json-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NouemanKHAL%2Fgo-json-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NouemanKHAL%2Fgo-json-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NouemanKHAL","download_url":"https://codeload.github.com/NouemanKHAL/go-json-parser/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NouemanKHAL%2Fgo-json-parser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274314613,"owners_count":25262694,"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-09-09T02:00:10.223Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["go","json","lexer","parser"],"created_at":"2024-11-16T09:29:14.103Z","updated_at":"2026-05-18T03:32:11.505Z","avatar_url":"https://github.com/NouemanKHAL.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Coding Challenge #2: Build Your Own JSON Parser\n\nThis is my solution to the second problem in the [John Crickett's Coding Challenges](https://codingchallenges.fyi/challenges/challenge-json-parser/).\n\nI made this project just for fun and to play around with lexers and parsers, it is still a work in progress.\n\n## Setup\n\n1. Clone the repo\n1. Run the tool using of the following approaches:\n\n    ```shell\n    # Run the tool automatically using the go command\n    $ go run . [file] [path]\n\n    # Build a binary and run it manually\n    $ go build -o gojson\n    $ ./gojson [file] [path]\n\n    # Install the binary in your environment, and run it:\n    $ go install\n    $ gojson [file] [path]\n    ```\n1. Done!\n\n\n## Usage\n```shell\nUsage:\n\tgojson [FILE] [PATH]\n\nExample:\n    gojson tests/step1/valid.json .key\n    cat file.json | gojson .foo.bar[0]\n```\n\n\n## Examples\n\n```shell\n$ gojson tests/step4/valid2.json .key-o\n{\"inner key\": \"inner value\"}\n\n$ gojson tests/step4/valid.json .key\n\"value\"\n\n$ gojson tests/step3/invalid.json\ncannot parse value, got token 'False' at line 3:9\nexit status 1\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnouemankhal%2Fgo-json-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnouemankhal%2Fgo-json-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnouemankhal%2Fgo-json-parser/lists"}