{"id":24248872,"url":"https://github.com/chrimle/record2json","last_synced_at":"2026-05-19T07:31:00.989Z","repository":{"id":271466542,"uuid":"913530375","full_name":"Chrimle/Record2JSON","owner":"Chrimle","description":"Parse and convert stringified Java records into JSON.","archived":false,"fork":false,"pushed_at":"2025-01-07T23:22:42.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-23T05:21:50.854Z","etag":null,"topics":["java","java-records","json","strings"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Chrimle.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"chrimle","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"lfx_crowdfunding":null,"polar":null,"buy_me_a_coffee":null,"thanks_dev":null,"custom":null}},"created_at":"2025-01-07T21:33:45.000Z","updated_at":"2025-01-07T23:25:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"4c163baa-cebe-4889-874e-3947cf6c7a18","html_url":"https://github.com/Chrimle/Record2JSON","commit_stats":null,"previous_names":["chrimle/record2json"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Chrimle/Record2JSON","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chrimle%2FRecord2JSON","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chrimle%2FRecord2JSON/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chrimle%2FRecord2JSON/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chrimle%2FRecord2JSON/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Chrimle","download_url":"https://codeload.github.com/Chrimle/Record2JSON/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chrimle%2FRecord2JSON/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33206272,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-19T07:16:55.748Z","status":"ssl_error","status_checked_at":"2026-05-19T07:16:54.366Z","response_time":58,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["java","java-records","json","strings"],"created_at":"2025-01-15T00:07:11.160Z","updated_at":"2026-05-19T07:31:00.977Z","avatar_url":"https://github.com/Chrimle.png","language":null,"funding_links":["https://github.com/sponsors/chrimle"],"categories":[],"sub_categories":[],"readme":"# Record2JSON\n_Parse and convert stringified Java records into JSON._\n\n## Background\nWith the introduction of Java records in Java 16, the default `toString()` implementation provides a more human-readable string representation of objects.This improved format, e.g. `ExampleRecord(field1=value1, field2=value2)`, is useful for debugging and logging. However, this string representation should **not** be mistaken for serialization, as it is not intended for data exchange or persistence.\n\n## Purpose\nThere may be scenarios where a record has been stringified, _e.g. in logs_, and needs to be recovered and serialized into a JSON for further processing. Record2JSON parses the string and converts it into a valid JSON string.\n\n## Features\n(Draft Roadmap)\n1. Validate Input String\n    - Ensure that the input string is a valid stringified record.\n2. Validate Record Structure\n    - Support providing a JSON Schema for the expected structure.\n    - Support providing field names and `Class\u003c?\u003e` arguments for the expected structure.\n3. Further Configurations\n    - Support additional customizations.\n      - Prettify, for example\n4. Return a Valid JSON String\n    - Convert the parsed object into a JSON string.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrimle%2Frecord2json","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchrimle%2Frecord2json","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrimle%2Frecord2json/lists"}