Relaxed, or best-efforts JSON parser for Python?

Random832 random832 at fastmail.com
Sun Oct 11 22:57:03 EDT 2015


Victor Hooi <victorhooi at gmail.com> writes:

> My question, is there a more lenient, or relaxed JSON parser available
> for Python, that will try to do a best-efforts parsing of non-spec
> JSON?

In an answer to a similar question on StackExchange, using YAML was
suggested.

http://stackoverflow.com/questions/9104930

Is it possible that this format is in fact YAML? It does have the spaces
after each colon as mentioned in a comment, and it seems more likely to
me than that a major package like MongoDB aimed for JSON and missed. 




More information about the Python-list mailing list