{"id":20551597,"url":"https://github.com/clarketm/json","last_synced_at":"2025-08-02T17:08:44.504Z","repository":{"id":45549352,"uuid":"201581995","full_name":"clarketm/json","owner":"clarketm","description":"Drop-in replacement for Golang encoding/json with additional features.","archived":false,"fork":false,"pushed_at":"2022-10-12T03:01:39.000Z","size":152838,"stargazers_count":55,"open_issues_count":6,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-07T12:22:50.831Z","etag":null,"topics":["encoder-decoder","golang","json"],"latest_commit_sha":null,"homepage":"https://godoc.org/github.com/clarketm/json","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/clarketm.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":"2019-08-10T04:59:04.000Z","updated_at":"2025-01-26T08:17:35.000Z","dependencies_parsed_at":"2022-08-12T11:52:19.059Z","dependency_job_id":null,"html_url":"https://github.com/clarketm/json","commit_stats":null,"previous_names":[],"tags_count":60,"template":false,"template_full_name":null,"purl":"pkg:github/clarketm/json","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clarketm%2Fjson","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clarketm%2Fjson/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clarketm%2Fjson/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clarketm%2Fjson/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/clarketm","download_url":"https://codeload.github.com/clarketm/json/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clarketm%2Fjson/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268423891,"owners_count":24248116,"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-08-02T02:00:12.353Z","response_time":74,"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":["encoder-decoder","golang","json"],"created_at":"2024-11-16T02:32:24.567Z","updated_at":"2025-08-02T17:08:44.461Z","avatar_url":"https://github.com/clarketm.png","language":"Go","readme":"# [json](https://godoc.org/github.com/clarketm/json)\n\u003e Mirrors [golang/go](https://github.com/golang/go) [![Golang version](https://img.shields.io/badge/go-1.15-green)](https://github.com/golang/go/releases/tag/go1.15)\n\nDrop-in replacement for Golang [`encoding/json`](https://golang.org/pkg/encoding/json/) with additional features.\n\n## Installation\n```shell\n$ go get -u github.com/clarketm/json\n```\n\n## Usage\n```diff\n- import \"encoding/json\"\n+ import \"github.com/clarketm/json\"\n```\nSame usage as Golang [`encoding/json`](https://golang.org/pkg/encoding/json/).\n\n## Features\n- Support zero values of structs with `omitempty`: [golang/go#11939](https://github.com/golang/go/issues/11939).\n\u003e If `omitempty` is applied to a struct and all the children of the struct are *empty*, then on marshalling it will be **omitted** from the encoded json.\n\n## [Benchmarks](bench.txt)\n\n```text\nname                old time/op    new time/op    delta\nEncodeMarshaler-16    45.1ns ± 9%    46.1ns ±10%   ~     (p=0.224 n=20+20)\n\nname                old alloc/op   new alloc/op   delta\nEncodeMarshaler-16     4.00B ± 0%     4.00B ± 0%   ~     (all equal)\n\nname                old allocs/op  new allocs/op  delta\nEncodeMarshaler-16      1.00 ± 0%      1.00 ± 0%   ~     (all equal)\n```\n\n## License\nRefer to the [Golang](https://github.com/golang/go/blob/master/LICENSE) license. See [LICENSE](LICENSE) for more information.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclarketm%2Fjson","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclarketm%2Fjson","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclarketm%2Fjson/lists"}