{"id":23148286,"url":"https://github.com/drkwitht/toy_json_parser","last_synced_at":"2025-04-04T13:44:52.938Z","repository":{"id":169262370,"uuid":"618647667","full_name":"DrkWithT/Toy_Json_Parser","owner":"DrkWithT","description":"My very first working toy json parser!","archived":false,"fork":false,"pushed_at":"2023-07-25T23:03:20.000Z","size":99,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-09T23:32:57.843Z","etag":null,"topics":["c","json-parser","parsing","speedcoding","toy-project"],"latest_commit_sha":null,"homepage":"","language":"C","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/DrkWithT.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,"publiccode":null,"codemeta":null}},"created_at":"2023-03-25T00:10:25.000Z","updated_at":"2023-04-05T14:54:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"102b3ae1-8082-4d76-88dd-01fc53db9a24","html_url":"https://github.com/DrkWithT/Toy_Json_Parser","commit_stats":null,"previous_names":["drkwitht/toy_json_parser"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrkWithT%2FToy_Json_Parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrkWithT%2FToy_Json_Parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrkWithT%2FToy_Json_Parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrkWithT%2FToy_Json_Parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DrkWithT","download_url":"https://codeload.github.com/DrkWithT/Toy_Json_Parser/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247189613,"owners_count":20898692,"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":["c","json-parser","parsing","speedcoding","toy-project"],"created_at":"2024-12-17T17:09:59.804Z","updated_at":"2025-04-04T13:44:52.929Z","avatar_url":"https://github.com/DrkWithT.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Toy JSON Parser\n## By: Derek Tan\n\n### Summary:\nThis repository contains code for a homemade recursive JSON parser in C. Because this is a toy parser, not all standard JSON features are meant to be supported. I do not intend this to be a production-ready, blazingly fast parser, but I made this for fun. Feel free to fork my work in progress project.\n\n### Usage:\n - Build: `make all`\n - Run: `./myjson \u003ctest number\u003e`\n    - Test 1: Access Array in an Object.\n    - Test 2: Access the first item in a plain Array.\n    - Test 3: Access a property of the second Object in a list of Objects.\n - Clean: `make clean`\n\n### Caveats:\n 1. No backslash escaped characters.\n 2. No Unicode support.\n 3. No booleans yet. (I should add this!)\n 4. The JSON source is copied into a memory buffer which is inefficient use of memory for larger files _if_ I intend to later support those file sizes.\n 5. The parser code has some ugly spaghetti in the parse object function.\n\n### To Do:\n 1. ~~Implement JSON data structures!~~\n 2. ~~Implement Lexer.~~\n 3. ~~Implement recursive token parser.~~\n 4. ~~Test run parse result and do structure function tests.~~\n 5. ~~Refactor helper function for reading JSON file.~~\n 6. Refactor `Parser_Parse_Obj(...)`, specifically the \"expect\" flags.\n 7. Add another test for `null` property values. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrkwitht%2Ftoy_json_parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrkwitht%2Ftoy_json_parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrkwitht%2Ftoy_json_parser/lists"}