{"id":13409872,"url":"https://github.com/lloyd/yajl","last_synced_at":"2026-10-19T08:48:48.463Z","repository":{"id":465292,"uuid":"89912","full_name":"lloyd/yajl","owner":"lloyd","description":"A fast streaming JSON parsing library in C.","archived":false,"fork":false,"pushed_at":"2026-08-24T02:36:28.000Z","size":908,"stargazers_count":2227,"open_issues_count":168,"forks_count":445,"subscribers_count":77,"default_branch":"master","last_synced_at":"2026-10-12T09:48:42.473Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://lloyd.github.com/yajl","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lloyd.png","metadata":{"files":{"readme":"README","changelog":"ChangeLog","contributing":null,"funding":null,"license":"COPYING","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":"2008-12-13T06:21:30.000Z","updated_at":"2026-07-29T06:03:28.000Z","dependencies_parsed_at":"2024-05-01T22:06:21.573Z","dependency_job_id":"8af5611a-de3a-48aa-ad2f-0bcdb420a23c","html_url":"https://github.com/lloyd/yajl","commit_stats":{"total_commits":254,"total_committers":30,"mean_commits":8.466666666666667,"dds":"0.42913385826771655","last_synced_commit":"5e3a7856e643b4d6410ddc3f84bc2f38174f2872"},"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/lloyd/yajl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lloyd%2Fyajl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lloyd%2Fyajl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lloyd%2Fyajl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lloyd%2Fyajl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lloyd","download_url":"https://codeload.github.com/lloyd/yajl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lloyd%2Fyajl/sbom","scorecard":{"id":595820,"data":{"date":"2025-08-11","repo":{"name":"github.com/lloyd/yajl","commit":"5e3a7856e643b4d6410ddc3f84bc2f38174f2872"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Code-Review","score":0,"reason":"Found 2/29 approved changesets -- score normalized to 0","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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: COPYING:0","Info: FSF or OSI recognized license: ISC License: COPYING:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for 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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 3 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-20T23:07:47.282Z","repository_id":465292,"created_at":"2025-08-20T23:07:47.282Z","updated_at":"2025-08-20T23:07:47.282Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":344872684,"owners_count":38352851,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-10-03T21:59:58.778Z","status":"online","status_checked_at":"2026-10-19T02:00:06.414Z","response_time":53,"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":[],"created_at":"2024-07-30T20:01:03.809Z","updated_at":"2026-10-19T08:48:48.197Z","avatar_url":"https://github.com/lloyd.png","language":"C","funding_links":[],"categories":["C","Data and Storage","JSON","others","进程间通信","Tools","Libraries"],"sub_categories":["Serialization and Formats","Json","JSON"],"readme":"**********************************************************************\n        This is YAJL 2.  For the legacy version of YAJL see\n              https://github.com/lloyd/yajl/tree/1.x\n**********************************************************************\n\nWelcome to Yet Another JSON Library (YAJL)\n\n## Why does the world need another C library for parsing JSON?  \n\nGood question.  In a review of current C JSON parsing libraries I was \nunable to find one that satisfies my requirements.  Those are, \n0. written in C\n1. portable\n2. robust -- as close to \"crash proof\" as possible\n3. data representation independent\n4. fast\n5. generates verbose, useful error messages including context of where\n   the error occurs in the input text.\n6. can parse JSON data off a stream, incrementally\n7. simple to use\n8. tiny\n\nNumbers 3, 5, 6, and 7 were particularly hard to find, and were what \ncaused me to ultimately create YAJL.  This document is a tour of some\nof the more important aspects of YAJL.\n\n## YAJL is Free.\n\nPermissive licensing means you can use it in open source and\ncommercial products alike without any fees.  My request beyond the\nlicensing is that if you find bugs drop me a email, or better yet,\nfork and fix.\n\nPorting YAJL should be trivial, the implementation is ANSI C.  If you\nport to new systems I'd love to hear of it and integrate your patches.\n\n## YAJL is data representation independent.\n\nBYODR!  Many JSON libraries impose a structure based data representation\non you.  This is a benefit in some cases and a drawback in others.\nYAJL uses callbacks to remain agnostic of the in-memory representation.\nSo if you wish to build up an in-memory representation, you may do so\nusing YAJL, but you must bring the code that defines and populates the\nin memory structure.\n\nThis also means that YAJL can be used by other (higher level) JSON\nlibraries if so desired.\n\n## YAJL supports stream parsing\n\nThis means you do not need to hold the whole JSON representation in\ntextual form in memory.  This makes YAJL ideal for filtering projects,\nwhere you're converting YAJL from one form to another (i.e. XML).  The\nincluded JSON pretty printer is an example of such a filter program.\n\n## YAJL is fast\n\nMinimal memory copying is performed.  YAJL, when possible, returns\npointers into the client provided text (i.e. for strings that have no\nembedded escape chars, hopefully the common case).  I've put a lot of\neffort into profiling and tuning performance, but I have ignored a\ncouple possible performance improvements to keep the interface clean,\nsmall, and flexible.  My hope is that YAJL will perform comparably to\nthe fastest JSON parser out there.\n\nYAJL should impose both minimal CPU and memory requirements on your\napplication.\n\n## YAJL is tiny.\n\nFat free.  No whip.\n\nenjoy,\nLloyd - July, 2007 \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flloyd%2Fyajl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flloyd%2Fyajl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flloyd%2Fyajl/lists"}