{"id":37807042,"url":"https://github.com/paemuri/dyjson","last_synced_at":"2026-01-16T15:31:04.595Z","repository":{"id":62866528,"uuid":"95772991","full_name":"paemuri/dyjson","owner":"paemuri","description":"Manipulating dynamic and unknown JSON with ease!","archived":false,"fork":false,"pushed_at":"2021-09-04T16:12:21.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-15T06:11:01.833Z","etag":null,"topics":["dynamic-json","go","golang","json"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/paemuri.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":"2017-06-29T11:58:28.000Z","updated_at":"2021-08-13T21:26:00.000Z","dependencies_parsed_at":"2022-11-08T06:32:40.559Z","dependency_job_id":null,"html_url":"https://github.com/paemuri/dyjson","commit_stats":null,"previous_names":["nhanderu/dyjson"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/paemuri/dyjson","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paemuri%2Fdyjson","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paemuri%2Fdyjson/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paemuri%2Fdyjson/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paemuri%2Fdyjson/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/paemuri","download_url":"https://codeload.github.com/paemuri/dyjson/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paemuri%2Fdyjson/sbom","scorecard":{"id":683778,"data":{"date":"2025-08-11","repo":{"name":"github.com/paemuri/dyjson","commit":"2602f2dc096da22ca6309bb54c6df8966058850c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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":"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":"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":"Code-Review","score":0,"reason":"Found 0/14 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":"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":"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: The Unlicense: LICENSE: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 'main'"],"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":"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"}}]},"last_synced_at":"2025-08-22T00:02:12.438Z","repository_id":62866528,"created_at":"2025-08-22T00:02:12.438Z","updated_at":"2025-08-22T00:02:12.438Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28479409,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["dynamic-json","go","golang","json"],"created_at":"2026-01-16T15:31:01.079Z","updated_at":"2026-01-16T15:31:04.560Z","avatar_url":"https://github.com/paemuri.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DyJSON\n\n[![License][badge-1-img]][badge-1-link]\n[![go.dev][badge-2-img]][badge-2-link]\n[![Travis CI][badge-3-img]][badge-3-link]\n[![Codecov.io][badge-4-img]][badge-4-link]\n[![Go Report Card][badge-5-img]][badge-5-link]\n\nA small and simple package to help you handle dynamic and unknown JSON\nelegantly.\n\n## Why\n\nDyJSON lets you handle dynamic JSON in a different way. It is perfect\nfor cases where you have to deal differently based on a field type or\nstructure, e.g. call a function recursivelly if it's an object or array\nuntil you find a string or number value (something similar to what I\nneeded).\n\nIf, while dealing with your JSON, you know the specific value path, or\njust want to validate it, I suggest you to use [Gabs][1].\n\n## Example\n\n```go\nfunc main() {\n\n    const json = `\n        {\n            \"key\": {\n                \"key\": [\n                    \"test\",\n                    1,\n                    true\n                ]\n            }\n        }\n    `\n\n    handle(dyjson.ParseString(json))\n\n    // The output is:\n    //   found string: test\n    //   found number: 1.00\n}\n\nfunc handle(v *dyjson.JSONValue) {\n    switch {\n    case v.IsArray():\n        for _, av := range v.Array() {\n            handle(av)\n        }\n    case v.IsObject():\n        handle(v.Object()[\"key\"])\n    case v.IsString():\n        fmt.Printf(\"found string: %s\\n\", v.String())\n    case v.IsNumber():\n        fmt.Printf(\"found number: %.2f\\n\", v.Number())\n    }\n}\n```\n\n## License\n\nThis project code is in the public domain. See the [LICENSE file][2].\n\n### Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally\nsubmitted for inclusion in the work by you shall be in the public\ndomain, without any additional terms or conditions.\n\n[1]: https://github.com/Jeffail/gabs\n[2]: ./LICENSE\n\n[badge-1-img]: https://img.shields.io/github/license/paemuri/dyjson?style=flat-square\n[badge-1-link]: https://github.com/paemuri/dyjson/blob/master/LICENSE\n[badge-2-img]: https://img.shields.io/badge/go.dev-reference-007d9c?style=flat-square\u0026logo=go\u0026logoColor=white\n[badge-2-link]: https://pkg.go.dev/github.com/paemuri/dyjson\n[badge-3-img]: https://img.shields.io/travis/paemuri/dyjson?style=flat-square\n[badge-3-link]: https://travis-ci.org/paemuri/dyjson\n[badge-4-img]: https://img.shields.io/codecov/c/gh/paemuri/dyjson?style=flat-square\n[badge-4-link]: https://codecov.io/gh/paemuri/dyjson\n[badge-5-img]: https://goreportcard.com/badge/github.com/paemuri/dyjson?style=flat-square\n[badge-5-link]: https://goreportcard.com/report/github.com/paemuri/dyjson\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaemuri%2Fdyjson","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpaemuri%2Fdyjson","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaemuri%2Fdyjson/lists"}