{"id":26058037,"url":"https://github.com/gapitio/json_string","last_synced_at":"2026-02-10T02:35:48.737Z","repository":{"id":262977337,"uuid":"888956169","full_name":"gapitio/json_string","owner":"gapitio","description":"Formats JSON string so that Serde can use it","archived":false,"fork":false,"pushed_at":"2025-01-10T11:40:18.000Z","size":94,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-07T10:18:07.426Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gapitio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","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,"zenodo":null}},"created_at":"2024-11-15T10:27:04.000Z","updated_at":"2025-01-10T11:40:21.000Z","dependencies_parsed_at":"2025-04-11T05:08:20.516Z","dependency_job_id":"d20e9aac-bd9e-4199-9c5a-28ad8e9d0ae2","html_url":"https://github.com/gapitio/json_string","commit_stats":null,"previous_names":["gapitio/json_string"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gapitio/json_string","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gapitio%2Fjson_string","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gapitio%2Fjson_string/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gapitio%2Fjson_string/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gapitio%2Fjson_string/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gapitio","download_url":"https://codeload.github.com/gapitio/json_string/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gapitio%2Fjson_string/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29289605,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-10T02:32:08.756Z","status":"ssl_error","status_checked_at":"2026-02-10T02:30:31.937Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":"2025-03-08T12:00:00.335Z","updated_at":"2026-02-10T02:35:48.721Z","avatar_url":"https://github.com/gapitio.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"Formats a given string so that `serde_json` crate can understand it. \n\n# Example 1\n\n``` rust\nuse serial_test::serial;\nuse json_string::prepare_json_string;\n\nlet original_str = r#\"\n    [\n        {\"tag\":\"lol\", \"groups\":[]}\n    ]\n\"#;\nlet prepared_str = prepare_json_string(original_str);\n\nlet expected_str = r#\"[{\"tag\": \"lol\"}]\"#;\n\nassert_eq!(prepared_str, expected_str);\n```\n\n# Example 2\n``` rust\nuse serial_test::serial;\nuse json_string::prepare_json_string;\n\nlet original_str = r#\"\n    [\n        {\"label\":\"lol\", \"customtags\": {\"k1\": \"v1\"}}\n    ]\n\"#;\nlet prepared_str = prepare_json_string(original_str);\n\nlet expected_str = r#\"[{\"label\": \"lol\", \"customtags\": {\"k1\": \"v1\"}}]\"#;\n\nassert_eq!(prepared_str, expected_str);\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgapitio%2Fjson_string","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgapitio%2Fjson_string","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgapitio%2Fjson_string/lists"}