angular.fromJson
Description
Deserializes a string in the JSON format.
Usage
angular.fromJson(json, useNative);
Parameters
- json –
{string}
– JSON string to deserialize.
- useNative –
{boolean}
[false]
– Use native JSON parser if available
Returns
{Object|Array|Date|string|number} Deserialized thingy.