For when you have incomplete JSON strings like:
{"Fault":
{"faultcode": "StartTransmissionFail",
"faultstring": {"content": "Internal Error"
Given an incomplete JSON-encoded string, attempts to complete it with the missing "
, }
and ]
characters necessary for it to be valid.
Understands the backlash escape char (\
), and ignores chars that open clauses (such as [
or {
) inside strings.
Note: does not support incomplete JSON strings that end the middle of a map keyword (yet), right after a colon :
or other unforseen cases.