{"id":19848158,"url":"https://github.com/mys1024/json-referencable","last_synced_at":"2026-05-10T12:10:11.206Z","repository":{"id":59791453,"uuid":"538548071","full_name":"mys1024/json-referencable","owner":"mys1024","description":"Keep references in JSON.","archived":false,"fork":false,"pushed_at":"2022-09-27T14:28:55.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-23T04:07:05.650Z","etag":null,"topics":["json","ref","refrence"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/json-referencable","language":"TypeScript","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/mys1024.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}},"created_at":"2022-09-19T14:40:15.000Z","updated_at":"2022-09-24T09:08:08.000Z","dependencies_parsed_at":"2023-01-18T20:26:09.675Z","dependency_job_id":null,"html_url":"https://github.com/mys1024/json-referencable","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mys1024%2Fjson-referencable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mys1024%2Fjson-referencable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mys1024%2Fjson-referencable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mys1024%2Fjson-referencable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mys1024","download_url":"https://codeload.github.com/mys1024/json-referencable/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241226813,"owners_count":19930487,"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":["json","ref","refrence"],"created_at":"2024-11-12T13:16:24.257Z","updated_at":"2026-05-10T12:10:06.159Z","avatar_url":"https://github.com/mys1024.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# json-referencable\n\nKeep references in JSON.\n\n# Usage\n\n```typescript\nimport * as JSONR from 'json-referencable'\n\nconst foo = { id: 'foo' }\nconst bar = { id: 'bar' }\nfoo.next = bar\nbar.next = foo\n\nconst json = JSONR.stringify(foo) // '{\"refs\":{\"_ref_0\":{\"id\":\"foo\",\"next\":\"_ref_1\"},\"_ref_1\":{\"id\":\"bar\",\"next\":\"_ref_0\"}},\"root\":\"_ref_0\"}'\nconst parsedFoo = JSONR.parse(json) // `parsedFoo` is structurally the same as `foo`\nparsedFoo === parsedFoo.next.next  // true\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmys1024%2Fjson-referencable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmys1024%2Fjson-referencable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmys1024%2Fjson-referencable/lists"}