W3cubDocs

/Angular.js 1.6

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–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://code.angularjs.org/1.6.6/docs/api/ng/function/angular.fromJson