{"id":22161276,"url":"https://github.com/violetbuse/jackson","last_synced_at":"2026-01-31T15:01:37.201Z","repository":{"id":243292997,"uuid":"812003465","full_name":"violetbuse/jackson","owner":"violetbuse","description":"Pure gleam json decode/encode and json pointer resolution","archived":false,"fork":false,"pushed_at":"2024-06-11T21:39:28.000Z","size":15,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-02T04:59:35.939Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://hexdocs.pm/jackson","language":"Gleam","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/violetbuse.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-06-07T18:42:23.000Z","updated_at":"2024-06-15T18:41:50.000Z","dependencies_parsed_at":"2024-06-12T01:44:03.655Z","dependency_job_id":null,"html_url":"https://github.com/violetbuse/jackson","commit_stats":null,"previous_names":["violetbuse/jackson"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/violetbuse/jackson","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/violetbuse%2Fjackson","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/violetbuse%2Fjackson/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/violetbuse%2Fjackson/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/violetbuse%2Fjackson/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/violetbuse","download_url":"https://codeload.github.com/violetbuse/jackson/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/violetbuse%2Fjackson/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28946054,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T14:26:55.697Z","status":"ssl_error","status_checked_at":"2026-01-31T14:26:52.545Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":[],"created_at":"2024-12-02T04:14:15.152Z","updated_at":"2026-01-31T15:01:37.184Z","avatar_url":"https://github.com/violetbuse.png","language":"Gleam","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jackson\n\n[![Package Version](https://img.shields.io/hexpm/v/jackson)](https://hex.pm/packages/jackson)\n[![Hex Docs](https://img.shields.io/badge/hex-docs-ffaff3)](https://hexdocs.pm/jackson/)\n\n```sh\ngleam add jackson\n```\n\n## Decoding a json value\n\n```gleam\nimport jackson\nimport gleam/result\nimport gleam/dynamic\n\npub fn main() {\n  fetch_value()\n  |\u003e jackson.parse\n  |\u003e result.map(\n    jackson.decode(dynamic.decode2(Constructor, field(\"id\", dynamic.int), field(\"name\", dynamic.string))\n  )\n}\n```\n\n## Encoding a json value\n\n```gleam\nimport jackson\n\njackson.object(\n  #(\"id\", jackson.int(2)),\n  #(\"name\", jackson.string(\"michael\"))\n)\n|\u003e jackson.to_string()\n// {\"id\": 2, \"name\": \"michael\"}\n```\n\nFurther documentation can be found at \u003chttps://hexdocs.pm/jackson\u003e.\n\n## Development\n\n```sh\ngleam run   # Run the project\ngleam test  # Run the tests\ngleam shell # Run an Erlang shell\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvioletbuse%2Fjackson","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvioletbuse%2Fjackson","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvioletbuse%2Fjackson/lists"}