I have a json file, such as the following:
{
\"author\":\"John\",
\"desc\": \"If it is important to decode all valid JSON correctly \\
an
jsoncomment is good, but inline comment is not supported.
Check out jstyleson, which support
pip install jstyleson
import jstyleson
result_dict = jstyleson.loads(invalid_json_str) # OK
jstyleson.dumps(result_dict)