SQLpage
SQLpage copied to clipboard
Return a blank string from parse_json when a blank string or not a valid JSON is provided
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.