I have a json file, such as the following:
{ \"author\":\"John\", \"desc\": \"If it is important to decode all valid JSON correctly \\ an
I have not personally used it, but the jsoncomment python package supports parsing a JSON file with comments.
You use it in place of the JSON parser as follows:
parser = JsonComment(json) parsed_object = parser.loads(jsonString)