{"id":16348469,"url":"https://github.com/devinus/jsonex","last_synced_at":"2025-10-26T02:30:27.025Z","repository":{"id":7144343,"uuid":"8441850","full_name":"devinus/jsonex","owner":"devinus","description":"JSON for Elixir","archived":false,"fork":false,"pushed_at":"2013-10-16T15:38:14.000Z","size":164,"stargazers_count":8,"open_issues_count":2,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-03T23:45:08.058Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/devinus/jsonex","language":"Elixir","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/devinus.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}},"created_at":"2013-02-26T20:57:21.000Z","updated_at":"2022-08-22T19:19:49.000Z","dependencies_parsed_at":"2022-09-22T11:42:19.306Z","dependency_job_id":null,"html_url":"https://github.com/devinus/jsonex","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devinus%2Fjsonex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devinus%2Fjsonex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devinus%2Fjsonex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devinus%2Fjsonex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devinus","download_url":"https://codeload.github.com/devinus/jsonex/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238241453,"owners_count":19439768,"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":[],"created_at":"2024-10-11T00:52:17.410Z","updated_at":"2025-10-26T02:30:26.737Z","avatar_url":"https://github.com/devinus.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JSON for Elixir\n\n[![Build Status](https://travis-ci.org/devinus/jsonex.png)](https://travis-ci.org/devinus/jsonex)\n\n## Encoding\n\n```elixir\nJSON.encode [ok: true] #=\u003e \"{\\\"ok\\\":true}\"\n```\n\n## Decoding\n\n```elixir\nJSON.decode \"{\\\"ok\\\":true}\" #=\u003e [{\"ok\",true}]\n```\n\n## Custom encoder/decoders\n\n```elixir\ndefmodule MyJSON do\n  use JSON\n\n  def pre_encoder(:undefined), do: :null\n  def pre_encoder(value), \t   do: super(value)\n\n  def post_decoder(null),  do: :undefined\n  def post_decoder(value), do: super(value)\nend\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevinus%2Fjsonex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevinus%2Fjsonex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevinus%2Fjsonex/lists"}