W3cubDocs

/Angular.js 1.4

Improve this Doc View Source angular.fromJson

  1. function in module ng

Deserializes a JSON string.

Usage

angular.fromJson(json);

Arguments

Param Type Details
json string

JSON string to deserialize.

Returns

ObjectArraystringnumber

Deserialized JSON string.

© 2010–2016 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://code.angularjs.org/1.4.14/docs/api/ng/function/angular.fromJson