dojo.fromJson

Deprecated. Use dojo/json::parse() instead.

Old syntax:

dojo.fromJson("{x: 5, y: 3}")

New syntax:

require(["dojo/json"], function(json){
    json.parse("{x: 5, y: 3}")
});

Table of Contents

Error in the documentation? Can’t find what you are looking for? Let us know!