src/cm/media/js/lib/yui/yui3.0.0/api/module_json.html
changeset 0 40c8f766c9b8
equal deleted inserted replaced
-1:000000000000 0:40c8f766c9b8
       
     1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
       
     2 <html xmlns:yui="http://yuilibrary.com/rdf/1.0/yui.rdf#">
       
     3 <head>
       
     4     <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
       
     5 	<title>API: json   (YUI Library)</title>
       
     6 
       
     7 	<link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css" />
       
     8 	<link rel="stylesheet" type="text/css" href="assets/api.css" />
       
     9 
       
    10     <script type="text/javascript" src="assets/api-js"></script>
       
    11     <script type="text/javascript" src="assets/ac-js"></script>
       
    12 </head>
       
    13 
       
    14 <body id="yahoo-com">
       
    15 
       
    16 <div id="doc3" class="yui-t2">
       
    17 	<div id="hd">
       
    18         <h1><a href="http://developer.yahoo.com/yui/" title="Yahoo! UI Library">Yahoo! UI Library</a></h1>
       
    19         <h3>json&nbsp; <span class="subtitle">3.0.0</span></h3>
       
    20         <a href="./index.html" title="Yahoo! UI Library">Yahoo! UI Library</a> 
       
    21             &gt; <a href="./module_json.html" title="json">json</a>
       
    22                 
       
    23                 
       
    24         <form onsubmit="return false">
       
    25             <div id="propertysearch">
       
    26                 Search: <input autocomplete="off" id="searchinput" />
       
    27                 <div id="searchresults">
       
    28                     &nbsp;
       
    29                 </div>
       
    30             </div>
       
    31         </form>
       
    32 	</div>
       
    33 
       
    34 	<div id="bd">
       
    35 		<div id="yui-main">
       
    36 			<div class="yui-b">
       
    37             <form action="#" name="yui-classopts-form" method="get" id="yui-classopts-form">
       
    38                 <fieldset>
       
    39                     <legend>Filters</legend>
       
    40                 <span class="classopts"><input type="checkbox" name="show_private" id="show_private" /> <label for="show_private">Show Private</label></span>
       
    41                 <span class="classopts"><input type="checkbox" name="show_protected" id="show_protected" /> <label for="show_protected">Show Protected</label></span>
       
    42                 <span class="classopts"><input type="checkbox" name="show_deprecated" id="show_deprecated" /> <label for="show_deprecated">Show Deprecated</label></span>
       
    43                 </fieldset>
       
    44             </form>
       
    45 
       
    46                    
       
    47                     <h3>Module: json
       
    48                     
       
    49 
       
    50 
       
    51                     </h3>
       
    52                     <div class="description summary">
       
    53                         <p>The JSON module adds support for serializing JavaScript objects into
       
    54 JSON strings and parsing JavaScript objects from strings in JSON format.</p>
       
    55 <p>The JSON namespace is added to your YUI instance including static methods
       
    56 Y.JSON.parse(..) and Y.JSON.stringify(..).</p>
       
    57 <p>The functionality and method signatures follow the ECMAScript 5
       
    58 specification.  In browsers with native JSON support, the native
       
    59 implementation is used.</p>
       
    60 <p>The <code>json</code> module is a rollup of <code>json-parse</code> and
       
    61 <code>json-stringify</code>.</p>
       
    62 <p>As their names suggest, <code>json-parse</code> adds support for parsing
       
    63 JSON data (Y.JSON.parse) and <code>json-stringify</code> for serializing
       
    64 JavaScript data into JSON strings (Y.JSON.stringify).  You may choose to
       
    65 include either of the submodules individually if you don't need the
       
    66 complementary functionality, or include the rollup for both.</p>
       
    67                     </div>
       
    68 
       
    69 
       
    70 
       
    71                 <div class="yui-gc">
       
    72                     <div class="yui-u first">
       
    73 
       
    74                             <p>This module contains the following classes:</p>
       
    75                             <script>
       
    76                             //var YUI_CLASS_LIST = [{"extends": {"superclass": {}, "events": {}, "configs": {}, "properties": {}, "methods": {}}, "description": "<p>The JSON module adds support for serializing JavaScript objects into\nJSON strings and parsing JavaScript objects from strings in JSON format.</p>\n<p>The JSON namespace is added to your YUI instance including static methods\nY.JSON.parse(..) and Y.JSON.stringify(..).</p>\n<p>The functionality and method signatures follow the ECMAScript 5\nspecification.  In browsers with native JSON support, the native\nimplementation is used.</p>\n<p>The <code>json</code> module is a rollup of <code>json-parse</code> and\n<code>json-stringify</code>.</p>\n<p>As their names suggest, <code>json-parse</code> adds support for parsing\nJSON data (Y.JSON.parse) and <code>json-stringify</code> for serializing\nJavaScript data into JSON strings (Y.JSON.stringify).  You may choose to\ninclude either of the submodules individually if you don't need the\ncomplementary functionality, or include the rollup for both.</p>", "guessedname": "JSON", "name": "JSON"}];
       
    77                             </script>
       
    78                             <div id="splash_classList">
       
    79                                 <ul>
       
    80                                     <li><a href="JSON.html" title="JSON" id="class_0">JSON</a></li>
       
    81                                 </ul>
       
    82                             </div>
       
    83                     </div>
       
    84                     <div class="yui-u">
       
    85                                     <div class="submodules">
       
    86                                         <h4>Submodules:</h4> 
       
    87                                         <dl>
       
    88                                             <dt><code>json-stringify</code></dt>
       
    89                                             <dd>Provides Y.JSON.stringify method for converting objects to JSON strings.</dd>
       
    90                                             <dt><code>json-parse</code></dt>
       
    91                                             <dd>Provides Y.JSON.parse method to accept JSON strings and return native
       
    92 JavaScript objects.</dd>
       
    93                                         </dl>
       
    94                                     </div>
       
    95 
       
    96                         </div>
       
    97                 </div>
       
    98 
       
    99 			</div>
       
   100 		</div>
       
   101 		<div class="yui-b">
       
   102             <div class="nav">
       
   103 
       
   104                     <div id="moduleList" class="module">
       
   105                         <h4>Modules</h4>
       
   106                         <ul class="content">
       
   107                                 <li class=""><a href="module_anim.html" title="anim">anim</a></li>
       
   108                                 <li class=""><a href="module_async-queue.html" title="async-queue">async-queue</a></li>
       
   109                                 <li class=""><a href="module_attribute.html" title="attribute">attribute</a></li>
       
   110                                 <li class=""><a href="module_base.html" title="base">base</a></li>
       
   111                                 <li class=""><a href="module_cache.html" title="cache">cache</a></li>
       
   112                                 <li class=""><a href="module_classnamemanager.html" title="classnamemanager">classnamemanager</a></li>
       
   113                                 <li class=""><a href="module_collection.html" title="collection">collection</a></li>
       
   114                                 <li class=""><a href="module_console.html" title="console">console</a></li>
       
   115                                 <li class=""><a href="module_console-filters.html" title="console-filters">console-filters</a></li>
       
   116                                 <li class=""><a href="module_cookie.html" title="cookie">cookie</a></li>
       
   117                                 <li class=""><a href="module_dataschema.html" title="dataschema">dataschema</a></li>
       
   118                                 <li class=""><a href="module_datasource.html" title="datasource">datasource</a></li>
       
   119                                 <li class=""><a href="module_datatype.html" title="datatype">datatype</a></li>
       
   120                                 <li class=""><a href="module_dd.html" title="dd">dd</a></li>
       
   121                                 <li class=""><a href="module_dom.html" title="dom">dom</a></li>
       
   122                                 <li class=""><a href="module_dump.html" title="dump">dump</a></li>
       
   123                                 <li class=""><a href="module_event.html" title="event">event</a></li>
       
   124                                 <li class=""><a href="module_event-custom.html" title="event-custom">event-custom</a></li>
       
   125                                 <li class=""><a href="module_event-simulate.html" title="event-simulate">event-simulate</a></li>
       
   126                                 <li class=""><a href="module_history.html" title="history">history</a></li>
       
   127                                 <li class=""><a href="module_imageloader.html" title="imageloader">imageloader</a></li>
       
   128                                 <li class=""><a href="module_io.html" title="io">io</a></li>
       
   129                                 <li class="selected"><a href="module_json.html" title="json">json</a></li>
       
   130                                 <li class=""><a href="module_node.html" title="node">node</a></li>
       
   131                                 <li class=""><a href="module_node-focusmanager.html" title="node-focusmanager">node-focusmanager</a></li>
       
   132                                 <li class=""><a href="module_node-menunav.html" title="node-menunav">node-menunav</a></li>
       
   133                                 <li class=""><a href="module_oop.html" title="oop">oop</a></li>
       
   134                                 <li class=""><a href="module_overlay.html" title="overlay">overlay</a></li>
       
   135                                 <li class=""><a href="module_plugin.html" title="plugin">plugin</a></li>
       
   136                                 <li class=""><a href="module_profiler.html" title="profiler">profiler</a></li>
       
   137                                 <li class=""><a href="module_queue-promote.html" title="queue-promote">queue-promote</a></li>
       
   138                                 <li class=""><a href="module_slider.html" title="slider">slider</a></li>
       
   139                                 <li class=""><a href="module_stylesheet.html" title="stylesheet">stylesheet</a></li>
       
   140                                 <li class=""><a href="module_substitute.html" title="substitute">substitute</a></li>
       
   141                                 <li class=""><a href="module_test.html" title="test">test</a></li>
       
   142                                 <li class=""><a href="module_widget.html" title="widget">widget</a></li>
       
   143                                 <li class=""><a href="module_widget-position.html" title="widget-position">widget-position</a></li>
       
   144                                 <li class=""><a href="module_widget-position-ext.html" title="widget-position-ext">widget-position-ext</a></li>
       
   145                                 <li class=""><a href="module_widget-stack.html" title="widget-stack">widget-stack</a></li>
       
   146                                 <li class=""><a href="module_widget-stdmod.html" title="widget-stdmod">widget-stdmod</a></li>
       
   147                                 <li class=""><a href="module_yui.html" title="yui">yui</a></li>
       
   148                         </ul>
       
   149                     </div>
       
   150 
       
   151                     <div id="classList" class="module">
       
   152                         <h4>Classes</h4>
       
   153                         <ul class="content">
       
   154                                 <li class=""><a href="JSON.html" title="JSON">JSON</a></li>
       
   155                         </ul>
       
   156                     </div>
       
   157 
       
   158                     <div id="fileList" class="module">
       
   159                         <h4>Files</h4>
       
   160                         <ul class="content">        
       
   161                                 <li class=""><a href="json-parse.js.html" title="json-parse.js">json-parse.js</a></li>
       
   162                                 <li class=""><a href="json-stringify.js.html" title="json-stringify.js">json-stringify.js</a></li>
       
   163                         </ul>
       
   164                     </div>
       
   165 
       
   166 
       
   167 
       
   168 
       
   169 
       
   170             </div>
       
   171 		</div>
       
   172 	</div>
       
   173 	<div id="ft">
       
   174         <hr />
       
   175         Copyright &copy; 2009 Yahoo! Inc. All rights reserved.
       
   176 	</div>
       
   177 </div>
       
   178 <script type="text/javascript">
       
   179     ALL_YUI_PROPS = [{"access": "private", "host": "JSON", "name": "_BRACKETS", "url": "JSON.html#property__BRACKETS", "type": "property"}, {"access": "", "host": "JSON", "name": "dateToString", "url": "JSON.html#method_dateToString", "type": "method"}, {"access": "private", "host": "JSON", "name": "escapeException", "url": "JSON.html#method_escapeException", "type": "method"}, {"access": "private", "host": "JSON", "name": "_ESCAPES", "url": "JSON.html#property__ESCAPES", "type": "property"}, {"access": "", "host": "JSON", "name": "JSON.useNativeStringify", "url": "JSON.html#property_JSON.useNativeStringify", "type": "property"}, {"access": "private", "host": "JSON", "name": "Native", "url": "JSON.html#property_Native", "type": "property"}, {"access": "", "host": "JSON", "name": "parse", "url": "JSON.html#method_parse", "type": "method"}, {"access": "private", "host": "JSON", "name": "_revive", "url": "JSON.html#method__revive", "type": "method"}, {"access": "", "host": "JSON", "name": "stringify", "url": "JSON.html#method_stringify", "type": "method"}, {"access": "private", "host": "JSON", "name": "_UNICODE_EXCEPTIONS", "url": "JSON.html#property__UNICODE_EXCEPTIONS", "type": "property"}, {"access": "private", "host": "JSON", "name": "_UNSAFE", "url": "JSON.html#property__UNSAFE", "type": "property"}, {"access": "", "host": "JSON", "name": "useNativeParse", "url": "JSON.html#property_useNativeParse", "type": "property"}, {"access": "private", "host": "JSON", "name": "_VALUES", "url": "JSON.html#property__VALUES", "type": "property"}];
       
   180 </script>
       
   181 </body>
       
   182 </html>