{"library":"dirtyjson","type":"library","category":null,"description":"dirtyjson is a Python JSON decoder (version 1.0.8, last updated Nov 2022) designed to extract data from malformed or 'dirty' JSON, often found embedded in JavaScript files. It tolerates common non-standard JSON elements like single quotes, comments (line and block), dangling commas, unquoted keys, and hexadecimal/octal numbers. It focuses solely on decoding and provides line/column number contexts for parsed elements. While its release cadence is infrequent, it remains active for specialized parsing needs.","language":"python","status":"active","version":"1.0.8","tags":["json","parser","malformed json","dirty json","decoder","javascript"],"last_verified":"Wed May 20","install":[{"cmd":"pip install dirtyjson","imports":["import dirtyjson\ndirtyjson.loads(json_string)","import dirtyjson\nwith open('file.js') as f:\n    data = dirtyjson.load(f)"]}],"homepage":null,"github":"https://github.com/codecobblers/dirtyjson","docs":null,"changelog":null,"pypi":"https://pypi.org/project/dirtyjson/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":1.5,"avg_import_s":0.01,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/dirtyjson/compatibility"}}