{"id":13813408,"url":"https://github.com/Kijewski/pyjson5","last_synced_at":"2025-05-15T00:33:02.617Z","repository":{"id":32215084,"uuid":"131922582","full_name":"Kijewski/pyjson5","owner":"Kijewski","description":"A JSON5 serializer and parser library for Python 3 written in Cython.","archived":false,"fork":false,"pushed_at":"2024-04-24T04:04:17.000Z","size":318,"stargazers_count":125,"open_issues_count":10,"forks_count":6,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-24T09:42:04.184Z","etag":null,"topics":["cpython","json","json5","library","python","python3"],"latest_commit_sha":null,"homepage":"https://pyjson5.readthedocs.io","language":"C++","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/Kijewski.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.md","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":"2018-05-03T01:00:53.000Z","updated_at":"2024-05-29T17:55:45.903Z","dependencies_parsed_at":"2023-01-14T20:46:16.333Z","dependency_job_id":"9333bf3a-a09c-4359-a9ef-6e8085e2bf30","html_url":"https://github.com/Kijewski/pyjson5","commit_stats":{"total_commits":70,"total_committers":5,"mean_commits":14.0,"dds":0.3285714285714286,"last_synced_commit":"59ab5b67c5a3df000febcb0e6ebf951d765354a6"},"previous_names":[],"tags_count":27,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kijewski%2Fpyjson5","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kijewski%2Fpyjson5/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kijewski%2Fpyjson5/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kijewski%2Fpyjson5/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kijewski","download_url":"https://codeload.github.com/Kijewski/pyjson5/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225319220,"owners_count":17455727,"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":["cpython","json","json5","library","python","python3"],"created_at":"2024-08-04T04:01:16.793Z","updated_at":"2025-05-15T00:33:02.607Z","avatar_url":"https://github.com/Kijewski.png","language":"C++","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"PyJSON5\n==========\n\nA JSON5 serializer and parser library for Python 3 written in\n`Cython \u003chttp://cython.org/\u003e`_.\n\n\nSerializer\n----------\n\nThe serializer returns ASCII data that can safely be used in an HTML template.\nApostrophes, ampersands, greater-than, and less-then signs are encoded as\nunicode escaped sequences. E.g. this snippet is safe for any and all input:\n\n.. code:: html\n\n    \"\u003ca onclick='alert(\" + encode(data) + \")'\u003eshow message\u003c/a\u003e\"\n\nUnless the input contains infinite or NaN values, the result will be valid\n`JSON \u003chttps://tools.ietf.org/html/rfc8259\u003e`_ data.\n\n\nParser\n------\n\nAll valid `JSON5 1.0.0 \u003chttps://spec.json5.org/\u003e`_ and\n`JSON \u003chttps://tools.ietf.org/html/rfc8259\u003e`_ data can be read,\nunless the nesting level is absurdly high.\n\nFunctions\n---------\n\nYou can find the full documentation online at https://pyjson5.readthedocs.io/en/latest/.\nOr simply call ``help(pyjson5)``. :-)\n\nThe library supplies load(s) and dump(s) functions, so you can use it as a\ndrop-in replacement for Python's builtin ``json`` module, but you *should*\nuse the functions ``encode_*()`` and ``decode_*()`` instead.\n\nCompatibility\n-------------\n\nAt least CPython 3.7 or a recent Pypy3 version is needed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FKijewski%2Fpyjson5","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FKijewski%2Fpyjson5","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FKijewski%2Fpyjson5/lists"}