{"id":20345996,"url":"https://github.com/lupcode/java-json","last_synced_at":"2026-04-20T06:33:19.465Z","repository":{"id":113255725,"uuid":"323930043","full_name":"LupCode/java-json","owner":"LupCode","description":"Robust and efficient JSON parser and generator that includes line and column tracker for error handling. Can handle strings as well as streams for parsing and generating.","archived":false,"fork":false,"pushed_at":"2020-12-31T12:11:10.000Z","size":78,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-14T21:48:04.883Z","etag":null,"topics":["api","column-tracker","efficient","efficient-json-parser","java","java-8","java-json","json","json-api","json-parser","library","parsing","robust","streams","utf8","utf8-characters","utf8-string"],"latest_commit_sha":null,"homepage":"https://lupcode.com","language":"Java","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/LupCode.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":"2020-12-23T14:56:50.000Z","updated_at":"2021-07-19T16:50:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"d002b299-0160-4170-9ae1-07aec51979e2","html_url":"https://github.com/LupCode/java-json","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LupCode%2Fjava-json","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LupCode%2Fjava-json/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LupCode%2Fjava-json/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LupCode%2Fjava-json/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LupCode","download_url":"https://codeload.github.com/LupCode/java-json/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241876760,"owners_count":20035400,"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":["api","column-tracker","efficient","efficient-json-parser","java","java-8","java-json","json","json-api","json-parser","library","parsing","robust","streams","utf8","utf8-characters","utf8-string"],"created_at":"2024-11-14T22:10:40.914Z","updated_at":"2026-04-20T06:33:14.441Z","avatar_url":"https://github.com/LupCode.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Java JSON API\nRobust and efficient JSON parser and generator that includes line and column tracker for error handling.  \nCan handle strings as well as streams for parsing and generating.  \n\n## Requires:\n - [LupCode Utilities Library](https://github.com/luca-vogels/java-utilities)  \n\n## How to use:\n``` java\nString jsonStr = \"{\\\"Hello World\\\":[{\\\"Test\\\":1.2,\\\"Bye\\\":null},345,]}\";\n\t\t\n// Automatically detects class needed to parse JSON\nJSON\u003c?\u003e autoJson = JSON.parseAutoJSON(jsonStr);\nSystem.out.println(autoJson.toString(true));\n\n// Another example that shows how errors in the JSON data can be handled\ntry {\n\tJsonObject jsonObj = JsonObject.parse(jsonStr);\n\tSystem.out.println(jsonObj.toString());\n} catch(JsonParseException ex) {\n\tLineColumnTracker lct = ex.getLineColumn();\n\tif(lct != null)\n\t\tSystem.out.println(\"Error occurred at line \"+lct.getLine()+\", column \"+lct.getColumn());\n\telse\n\t\tex.printStackTrace();\n}\n```\n\n## References:\n - [LupCode.com](https://lupcode.com)  \n - [Lup.services](https://lup.services)  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flupcode%2Fjava-json","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flupcode%2Fjava-json","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flupcode%2Fjava-json/lists"}