{"id":18395403,"url":"https://github.com/orsinium-labs/jsony","last_synced_at":"2025-04-04T22:07:09.895Z","repository":{"id":260869207,"uuid":"881774714","full_name":"orsinium-labs/jsony","owner":"orsinium-labs","description":"⚡️ A blazing fast and safe Go package for serializing JSON","archived":false,"fork":false,"pushed_at":"2025-03-06T12:29:18.000Z","size":40,"stargazers_count":173,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-28T21:07:05.625Z","etag":null,"topics":["encoder","encoding","go","golang","json","json-serialization","serialization","serializer"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":false,"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/orsinium-labs.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":"2024-11-01T07:45:07.000Z","updated_at":"2025-03-15T23:22:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"7a73dfde-c3f0-4c5d-8fc2-a2df12707571","html_url":"https://github.com/orsinium-labs/jsony","commit_stats":null,"previous_names":["orsinium-labs/jsony"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orsinium-labs%2Fjsony","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orsinium-labs%2Fjsony/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orsinium-labs%2Fjsony/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orsinium-labs%2Fjsony/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/orsinium-labs","download_url":"https://codeload.github.com/orsinium-labs/jsony/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247256112,"owners_count":20909240,"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":["encoder","encoding","go","golang","json","json-serialization","serialization","serializer"],"created_at":"2024-11-06T02:10:52.085Z","updated_at":"2025-04-04T22:07:09.874Z","avatar_url":"https://github.com/orsinium-labs.png","language":"Go","funding_links":[],"categories":["Encoders"],"sub_categories":["Instrumentation and control with sensors and actuators"],"readme":"# jsony\n\n[ [📄 docs](https://pkg.go.dev/github.com/orsinium-labs/jsony) ]\n[ [🐙 github](https://github.com/orsinium-labs/jsony) ]\n\nA blazing fast and safe Go package for serializing JSON.\n\nFeatures:\n\n* 2-3 times faster than stdlib\n* type safe and with no runtime errors or panics\n* pure go\n* reflection-free\n* objects preserve elements' order\n* objects can be constructed dynamically\n\n## 📦 Installation\n\n```bash\ngo get github.com/orsinium-labs/jsony\n```\n\n## 🔧 Usage\n\n```go\nobj := jsony.Object{\n   {\"name\", jsony.String(\"Aragorn\")},\n   {\"age\", jsony.Int(87)},\n}\ns := jsony.EncodeString(obj)\nfmt.Println(s)\n```\n\nSee [documentation](https://pkg.go.dev/github.com/orsinium-labs/jsony).\n\n## 🐎 Benchmarks\n\nEach value is time (in ns) per operation, as reported by the Go built-in benchmark framework. Lower is better.\n\n| category     | jsony     | stdlib   |\n| ------------ | --------: | -------: |\n| Int          |     15 🏆 |       54 |\n| Float64      |     63 🏆 |      122 |\n| String       |     22 🏆 |       88 |\n| Object       |    134 🏆 |      136 |\n| Map          |    246 🏆 |      662 |\n| MixedArray   |    125 🏆 |      271 |\n| IntArray     |     88 🏆 |      183 |\n| BigArray     |  64262 🏆 |   115994 |\n\nTo reproduce, run `task bench`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forsinium-labs%2Fjsony","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Forsinium-labs%2Fjsony","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forsinium-labs%2Fjsony/lists"}