angularjs / 1.6.9 / api / ng / function / angular.fromjson.html /

Improve this Doc View Source angular.fromJson

  1. function in module ng

Overview

Deserializes a JSON string.

Usage

angular.fromJson(json);

Arguments

Param Type Details
json string

JSON string to deserialize.

Returns

ObjectArraystringnumber

Deserialized JSON string.

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