{"id":13532077,"url":"https://github.com/simplejson/simplejson","last_synced_at":"2026-04-22T21:02:23.048Z","repository":{"id":1379898,"uuid":"1333666","full_name":"simplejson/simplejson","owner":"simplejson","description":"simplejson is a simple, fast, extensible JSON encoder/decoder for Python ","archived":false,"fork":false,"pushed_at":"2026-04-13T16:13:19.000Z","size":1435,"stargazers_count":1708,"open_issues_count":22,"forks_count":356,"subscribers_count":58,"default_branch":"main","last_synced_at":"2026-04-13T20:30:29.294Z","etag":null,"topics":["json","json-parser","json-serializer","python","python2","python3"],"latest_commit_sha":null,"homepage":"https://simplejson.readthedocs.io/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simplejson.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGES.txt","contributing":null,"funding":null,"license":"LICENSE.txt","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2011-02-06T05:47:45.000Z","updated_at":"2026-04-13T16:13:21.000Z","dependencies_parsed_at":"2026-02-25T03:03:48.502Z","dependency_job_id":null,"html_url":"https://github.com/simplejson/simplejson","commit_stats":{"total_commits":550,"total_committers":43,"mean_commits":"12.790697674418604","dds":"0.21090909090909093","last_synced_commit":"6932004966ab70ef47250a2b3152acd8c904e6b5"},"previous_names":[],"tags_count":119,"template":false,"template_full_name":null,"purl":"pkg:github/simplejson/simplejson","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplejson%2Fsimplejson","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplejson%2Fsimplejson/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplejson%2Fsimplejson/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplejson%2Fsimplejson/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simplejson","download_url":"https://codeload.github.com/simplejson/simplejson/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplejson%2Fsimplejson/sbom","scorecard":{"id":825589,"data":{"date":"2025-08-18","repo":{"name":"github.com/simplejson/simplejson","commit":"fd905ba3d7fe7bc8acc6f797f17145234cd65df9"},"scorecard":{"version":"v5.2.1-41-g40576783","commit":"40576783fda6698350fcbbeaea760ff827433034"},"score":4.8,"checks":[{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build-and-deploy.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":2,"reason":"Found 3/11 approved changesets -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-and-deploy.yml:129: update your workflow using https://app.stepsecurity.io/secureworkflow/simplejson/simplejson/build-and-deploy.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build-and-deploy.yml:134: update your workflow using https://app.stepsecurity.io/secureworkflow/simplejson/simplejson/build-and-deploy.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-and-deploy.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/simplejson/simplejson/build-and-deploy.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build-and-deploy.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/simplejson/simplejson/build-and-deploy.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build-and-deploy.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/simplejson/simplejson/build-and-deploy.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build-and-deploy.yml:46: update your workflow using https://app.stepsecurity.io/secureworkflow/simplejson/simplejson/build-and-deploy.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-and-deploy.yml:54: update your workflow using https://app.stepsecurity.io/secureworkflow/simplejson/simplejson/build-and-deploy.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-and-deploy.yml:64: update your workflow using https://app.stepsecurity.io/secureworkflow/simplejson/simplejson/build-and-deploy.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-and-deploy.yml:66: update your workflow using https://app.stepsecurity.io/secureworkflow/simplejson/simplejson/build-and-deploy.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-and-deploy.yml:88: update your workflow using https://app.stepsecurity.io/secureworkflow/simplejson/simplejson/build-and-deploy.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-and-deploy.yml:109: update your workflow using https://app.stepsecurity.io/secureworkflow/simplejson/simplejson/build-and-deploy.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build-and-deploy.yml:114: update your workflow using https://app.stepsecurity.io/secureworkflow/simplejson/simplejson/build-and-deploy.yml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/build-and-deploy.yml:73","Info:   0 out of   7 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   5 third-party GitHubAction dependencies pinned","Info:   0 out of   1 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":10,"reason":"project is fuzzed","details":["Info: OSSFuzz integration found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#vulnerabilities"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#license"}},{"name":"Branch-Protection","score":3,"reason":"branch protection is not maximal on development and all release branches","details":["Info: 'allow deletion' disabled on branch 'master'","Info: 'force pushes' disabled on branch 'master'","Warn: branch 'master' does not require approvers","Warn: codeowners review is not required on branch 'master'","Info: status check found to merge onto on branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#branch-protection"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/build-and-deploy.yml:96"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#packaging"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#signed-releases"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 27 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-23T16:33:58.251Z","repository_id":1379898,"created_at":"2025-08-23T16:33:58.251Z","updated_at":"2025-08-23T16:33:58.251Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31824118,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T18:05:02.291Z","status":"online","status_checked_at":"2026-04-15T02:00:06.175Z","response_time":63,"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":["json","json-parser","json-serializer","python","python2","python3"],"created_at":"2024-08-01T07:01:08.024Z","updated_at":"2026-04-22T21:02:23.039Z","avatar_url":"https://github.com/simplejson.png","language":"Python","funding_links":[],"categories":["资源列表","Libraries","Data Format \u0026 I/O","Python","HarmonyOS","Data Serialization","Uncategorized"],"sub_categories":["文本处理","For Python","Windows Manager","Uncategorized"],"readme":"simplejson\n----------\n\nsimplejson is a simple, fast, complete, correct and extensible\nJSON \u003chttp://json.org\u003e encoder and decoder for Python 3.8+\nwith legacy support for Python 2.7.  It is pure Python code\nwith no dependencies, but includes an optional C extension\nfor a serious speed boost.\n\nThe latest documentation for simplejson can be read online here:\nhttps://simplejson.readthedocs.io/\n\nsimplejson is the externally maintained development version of the\njson library included with Python (since 2.6). This version is tested\nwith Python 3.14 (including free-threaded builds) and maintains\nbackwards compatibility with Python 3.8+. A legacy Python 2.7 wheel\nis also published.\n\nThe encoder can be specialized to provide serialization in any kind of\nsituation, without any special support by the objects to be serialized\n(somewhat like pickle). This is best done with the ``default`` kwarg\nto dumps.\n\nThe decoder can handle incoming JSON strings of any specified encoding\n(UTF-8 by default). It can also be specialized to post-process JSON\nobjects with the ``object_hook`` or ``object_pairs_hook`` kwargs. This\nis particularly useful for implementing protocols such as JSON-RPC\nthat have a richer type system than JSON itself.\n\nFor those of you that have legacy systems to maintain, there is a\nvery old fork of simplejson in the `python2.2`_ branch that supports\nPython 2.2. This is based on a very old version of simplejson,\nis not maintained, and should only be used as a last resort.\n\n.. _python2.2: https://github.com/simplejson/simplejson/tree/python2.2\n\nRawJSON\n~~~~~~~\n\n``RawJSON`` allows embedding pre-encoded JSON strings into output without\nre-encoding them.\n\nThis can be useful in advanced cases where JSON content is already\nserialized and re-encoding would be unnecessary.\n\nExample usage::\n\n    from simplejson import dumps, RawJSON\n\n    payload = {\n        \"status\": \"ok\",\n        \"data\": RawJSON('{\"a\": 1, \"b\": 2}')\n    }\n\n    print(dumps(payload))\n    # Output: {\"status\": \"ok\", \"data\": {\"a\": 1, \"b\": 2}}\n\n**Caveat:** ``RawJSON`` should be used with care. It bypasses normal\nserialization and validation, and is not recommended for general use\nunless the embedded JSON content is fully trusted.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplejson%2Fsimplejson","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimplejson%2Fsimplejson","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplejson%2Fsimplejson/lists"}