/*
	Copyright (c) 2004-2016, The JS Foundation All Rights Reserved.
	Available via Academic Free License >= 2.1 OR the modified BSD license.
	see: http://dojotoolkit.org/license for details
*/

//>>built
define("dojo/_base/json",["./kernel","../json"],function(a,d){a.fromJson=function(c){return eval("("+c+")")};a._escapeString=d.stringify;a.toJsonIndentStr="\t";a.toJson=function(c,f){return d.stringify(c,function(g,b){if(b){var e=b.__json__||b.json;if("function"==typeof e)return e.call(b)}return b},f&&a.toJsonIndentStr)};return a});