Presently, if blank string or a string not representing a valid JSON is provided, parse_json throws an error. I think it should return a blank string instead, so that you could use it to specify separate rendering schemes for JSON and non-JSON values.
Presently, if blank string or a string not representing a valid JSON is provided, parse_json throws an error. I think it should return a blank string instead, so that you could use it to specify separate rendering schemes for JSON and non-JSON values.