- How to use PHP's
json_decodefunction to convert JSON strings to PHP.
- Using a reviver function with
JSON.parseto screen or modify values.
- How to use a filter or reviver or toJSON method with
But first we provide a little background information for those who may be unfamiliar with JSON.
What is JSON?
- Objects: collections of name-value pairs
- Arrays: ordered lists of values
- Strings in double quotes
- True, false, or null.