Formats elements in JSON data to make them easier to read.
This function parses the text in the
json parameter. If
json can't be parsed, this function returns "?" followed by an error message (see
Handling errors in JSON data). Otherwise, this function returns
json with tab and line ending characters added.