{"id":16032119,"url":"https://github.com/virtuald/go-pyjson","last_synced_at":"2026-05-09T15:38:07.806Z","repository":{"id":57575171,"uuid":"355076336","full_name":"virtuald/go-pyjson","owner":"virtuald","description":"golang JSON parser that supports NaN and Infinity in the same way that Python does","archived":false,"fork":false,"pushed_at":"2021-04-06T06:09:57.000Z","size":514,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-26T11:09:00.450Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/virtuald.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":"2021-04-06T06:09:42.000Z","updated_at":"2021-04-06T06:10:05.000Z","dependencies_parsed_at":"2022-09-26T19:01:52.849Z","dependency_job_id":null,"html_url":"https://github.com/virtuald/go-pyjson","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/virtuald%2Fgo-pyjson","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/virtuald%2Fgo-pyjson/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/virtuald%2Fgo-pyjson/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/virtuald%2Fgo-pyjson/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/virtuald","download_url":"https://codeload.github.com/virtuald/go-pyjson/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244823035,"owners_count":20516209,"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":[],"created_at":"2024-10-08T21:20:33.002Z","updated_at":"2026-05-09T15:38:02.779Z","avatar_url":"https://github.com/virtuald.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"go-pyjson\n=========\n\nA forked version of the golang standard library JSON parser that supports\nNaN/Infinity as supported by the Python JSON implementation.\n\nWhy?\n----\n\n`NaN` and `Infinity` are not allowed by the JSON spec, but the Python JSON\nimplementation allows it. This is useful for interoperability with Python JSON\nimplementations when floating point data is being exchanged.\n\nHere's what python does:\n\n```pycon\n\u003e\u003e\u003e json.dumps([math.nan, math.inf, -math.inf])\n'[NaN, Infinity, -Infinity]'\n```\n\nIt seems likely that the golang project will not support adding this option\nto the standard library implementation.\n\n* https://github.com/golang/go/issues/3480\n* https://github.com/golang/go/issues/25721\n\nLicense\n-------\n\nThis is just a modification of the standard library's JSON parser, so it is\nprovided under the same BSD-style license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvirtuald%2Fgo-pyjson","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvirtuald%2Fgo-pyjson","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvirtuald%2Fgo-pyjson/lists"}