{"id":27290290,"url":"https://github.com/leviongit/dragonjson","last_synced_at":"2025-04-11T21:28:01.617Z","repository":{"id":50393077,"uuid":"517848802","full_name":"leviongit/dragonjson","owner":"leviongit","description":null,"archived":false,"fork":false,"pushed_at":"2024-05-22T04:52:24.000Z","size":5305,"stargazers_count":6,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-05-23T00:11:05.881Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leviongit.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-07-25T23:24:09.000Z","updated_at":"2024-05-22T04:52:28.000Z","dependencies_parsed_at":"2024-01-02T19:42:51.101Z","dependency_job_id":"c3f6a272-78e8-4e03-accb-f2a6c2edc44d","html_url":"https://github.com/leviongit/dragonjson","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leviongit%2Fdragonjson","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leviongit%2Fdragonjson/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leviongit%2Fdragonjson/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leviongit%2Fdragonjson/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leviongit","download_url":"https://codeload.github.com/leviongit/dragonjson/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248482366,"owners_count":21111315,"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":"2025-04-11T21:28:00.752Z","updated_at":"2025-04-11T21:28:01.608Z","avatar_url":"https://github.com/leviongit.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dragonjson\n\n## parsing json\n\n```rb\nArgonaut::JSON.parse(json_string,\n                     symbolize_keys: boolean,\n                     extensions: boolean)\n```\n\n### arguments\n\n1. `json_string` - `String` to be deserialized\n2. `symbolize_keys` - `true`/`false` : turn the keys of hashes into `Symbol`s?\n3. `extensions` - `true`/`false` : turn the extensions (lossless `Symbol`\n   deserialization, user object serialization) on?\n\n## serializing basic types to json\n\n```rb\nobj.to_json(indent_size: uint,\n            minify: boolean,\n            extensions: boolean)\n```\n\n### arguments\n\n1. `indent_size` - `uint` : width of indentation\n2. `minify` - `true`/`false` : whether to minify the json, overrides `indent_size`\n3. `extensions` - `true`/`false` : turn the extensions (lossless `Symbol`\n   deserialization, user object serialization) on?\n\n### basic types\n\n- `Hash`\n- `Array`\n- `Integer`\n- `Float`\n- `true`\n- `false`\n- `String`\n- `Symbol` (lossy conversion if `extensions` is `false`)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleviongit%2Fdragonjson","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleviongit%2Fdragonjson","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleviongit%2Fdragonjson/lists"}