{"id":19449478,"url":"https://github.com/techplexengineer/json_sanitizer","last_synced_at":"2025-10-10T10:32:48.737Z","repository":{"id":22642994,"uuid":"25985901","full_name":"TechplexEngineer/json_sanitizer","owner":"TechplexEngineer","description":"Parse any JSON that would be valid in javascript","archived":false,"fork":false,"pushed_at":"2016-05-31T13:26:37.000Z","size":4,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-07T23:36:21.361Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/json_sanitizer","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TechplexEngineer.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-10-30T19:14:00.000Z","updated_at":"2016-05-31T13:27:24.000Z","dependencies_parsed_at":"2022-07-23T19:32:04.305Z","dependency_job_id":null,"html_url":"https://github.com/TechplexEngineer/json_sanitizer","commit_stats":null,"previous_names":["techplexengineer/json-sanitizer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechplexEngineer%2Fjson_sanitizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechplexEngineer%2Fjson_sanitizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechplexEngineer%2Fjson_sanitizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechplexEngineer%2Fjson_sanitizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TechplexEngineer","download_url":"https://codeload.github.com/TechplexEngineer/json_sanitizer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240636746,"owners_count":19832937,"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-11-10T16:32:45.906Z","updated_at":"2025-10-10T10:32:43.689Z","avatar_url":"https://github.com/TechplexEngineer.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"json_sanitizer\n==============\n\nParse any JSON that would be valid in javascript\n\n## Example\n\n```javascript\nvar json_sanitizer = require('json_sanitizer');\n\n//Fill the json variable with javascript valid JSON\nvar json = \"{ s_id:\\\"0\\\",\\\"t\\\":[1414696794,1414696788,1414696776,1414696764,1414696752,1414696740,], \\\"vrms\\\":[119.589,119.514,119.607,119.641,119.361,119.486],\\\"irms\\\":[ 0.366, 0.366, 0.362, 0.364, 0.366, 0.362, ],  \\\"app\\\": [ 43.813, 43.785, 43.327, 43.576, 43.729, 43.283, ],  \\\"core_id\\\": \\\"53ff6d065067544847310187\\\", }\";\n\njson_sanitizer(json, function(err, result){\n    if (!err) {\n        console.log(JSON.parse(result)); //should never throw an error\n    } else {\n        console.log(\"ERROR\", err);\n    }\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechplexengineer%2Fjson_sanitizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechplexengineer%2Fjson_sanitizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechplexengineer%2Fjson_sanitizer/lists"}