summaryrefslogtreecommitdiff
path: root/doc/classes/JSON/Pure
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/JSON/Pure')
-rw-r--r--doc/classes/JSON/Pure/Generator.html63
-rw-r--r--doc/classes/JSON/Pure/Generator/GeneratorMethods.html77
-rw-r--r--doc/classes/JSON/Pure/Generator/GeneratorMethods/Array.html111
-rw-r--r--doc/classes/JSON/Pure/Generator/GeneratorMethods/FalseClass.html101
-rw-r--r--doc/classes/JSON/Pure/Generator/GeneratorMethods/Float.html118
-rw-r--r--doc/classes/JSON/Pure/Generator/GeneratorMethods/Hash.html111
-rw-r--r--doc/classes/JSON/Pure/Generator/GeneratorMethods/Integer.html101
-rw-r--r--doc/classes/JSON/Pure/Generator/GeneratorMethods/NilClass.html101
-rw-r--r--doc/classes/JSON/Pure/Generator/GeneratorMethods/Object.html103
-rw-r--r--doc/classes/JSON/Pure/Generator/GeneratorMethods/String.html286
-rw-r--r--doc/classes/JSON/Pure/Generator/GeneratorMethods/String/Extend.html112
-rw-r--r--doc/classes/JSON/Pure/Generator/GeneratorMethods/TrueClass.html101
-rw-r--r--doc/classes/JSON/Pure/Generator/State.html596
-rw-r--r--doc/classes/JSON/Pure/Parser.html407
14 files changed, 0 insertions, 2388 deletions
diff --git a/doc/classes/JSON/Pure/Generator.html b/doc/classes/JSON/Pure/Generator.html
deleted file mode 100644
index 496ed3c..0000000
--- a/doc/classes/JSON/Pure/Generator.html
+++ /dev/null
@@ -1,63 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head>
- <title>JSON::Pure::Generator</title>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
- <link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
- <script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
-</head>
-
-<body>
- <div class="banner">
- <h1>
- <span class="type">Module</span>
- JSON::Pure::Generator
-
- </h1>
- <ul class="files">
-
- <li><a href="../../../files/lib/json/pure/generator_rb.html">lib/json/pure/generator.rb</a></li>
-
- </ul>
- </div>
- <div id="bodyContent">
- <div id="content">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <div class="sectiontitle">Classes and Modules</div>
- <ul>
-
- <li><span class="type">MODULE</span> <a href="Generator/GeneratorMethods.html">JSON::Pure::Generator::GeneratorMethods</a></li>
-
- <li><span class="type">CLASS</span> <a href="Generator/State.html">JSON::Pure::Generator::State</a></li>
-
- </ul>
-
-
-
-
-
-
-
-</div>
- </div>
- </body>
-</html> \ No newline at end of file
diff --git a/doc/classes/JSON/Pure/Generator/GeneratorMethods.html b/doc/classes/JSON/Pure/Generator/GeneratorMethods.html
deleted file mode 100644
index 9a8bfd2..0000000
--- a/doc/classes/JSON/Pure/Generator/GeneratorMethods.html
+++ /dev/null
@@ -1,77 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head>
- <title>JSON::Pure::Generator::GeneratorMethods</title>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <link rel="stylesheet" href="../../../../css/reset.css" type="text/css" media="screen" />
- <link rel="stylesheet" href="../../../../css/main.css" type="text/css" media="screen" />
- <script src="../../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../../../js/main.js" type="text/javascript" charset="utf-8"></script>
-</head>
-
-<body>
- <div class="banner">
- <h1>
- <span class="type">Module</span>
- JSON::Pure::Generator::GeneratorMethods
-
- </h1>
- <ul class="files">
-
- <li><a href="../../../../files/lib/json/pure/generator_rb.html">lib/json/pure/generator.rb</a></li>
-
- </ul>
- </div>
- <div id="bodyContent">
- <div id="content">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <div class="sectiontitle">Classes and Modules</div>
- <ul>
-
- <li><span class="type">MODULE</span> <a href="GeneratorMethods/Array.html">JSON::Pure::Generator::GeneratorMethods::Array</a></li>
-
- <li><span class="type">MODULE</span> <a href="GeneratorMethods/FalseClass.html">JSON::Pure::Generator::GeneratorMethods::FalseClass</a></li>
-
- <li><span class="type">MODULE</span> <a href="GeneratorMethods/Float.html">JSON::Pure::Generator::GeneratorMethods::Float</a></li>
-
- <li><span class="type">MODULE</span> <a href="GeneratorMethods/Hash.html">JSON::Pure::Generator::GeneratorMethods::Hash</a></li>
-
- <li><span class="type">MODULE</span> <a href="GeneratorMethods/Integer.html">JSON::Pure::Generator::GeneratorMethods::Integer</a></li>
-
- <li><span class="type">MODULE</span> <a href="GeneratorMethods/NilClass.html">JSON::Pure::Generator::GeneratorMethods::NilClass</a></li>
-
- <li><span class="type">MODULE</span> <a href="GeneratorMethods/Object.html">JSON::Pure::Generator::GeneratorMethods::Object</a></li>
-
- <li><span class="type">MODULE</span> <a href="GeneratorMethods/String.html">JSON::Pure::Generator::GeneratorMethods::String</a></li>
-
- <li><span class="type">MODULE</span> <a href="GeneratorMethods/TrueClass.html">JSON::Pure::Generator::GeneratorMethods::TrueClass</a></li>
-
- </ul>
-
-
-
-
-
-
-
-</div>
- </div>
- </body>
-</html> \ No newline at end of file
diff --git a/doc/classes/JSON/Pure/Generator/GeneratorMethods/Array.html b/doc/classes/JSON/Pure/Generator/GeneratorMethods/Array.html
deleted file mode 100644
index 833aa08..0000000
--- a/doc/classes/JSON/Pure/Generator/GeneratorMethods/Array.html
+++ /dev/null
@@ -1,111 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head>
- <title>JSON::Pure::Generator::GeneratorMethods::Array</title>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <link rel="stylesheet" href="../../../../../css/reset.css" type="text/css" media="screen" />
- <link rel="stylesheet" href="../../../../../css/main.css" type="text/css" media="screen" />
- <script src="../../../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../../../../js/main.js" type="text/javascript" charset="utf-8"></script>
-</head>
-
-<body>
- <div class="banner">
- <h1>
- <span class="type">Module</span>
- JSON::Pure::Generator::GeneratorMethods::Array
-
- </h1>
- <ul class="files">
-
- <li><a href="../../../../../files/lib/json/pure/generator_rb.html">lib/json/pure/generator.rb</a></li>
-
- </ul>
- </div>
- <div id="bodyContent">
- <div id="content">
-
-
-
-
-
-
-
-
-
- <div class="sectiontitle">Methods</div>
- <dl class="methods">
-
- <dt>T</dt>
- <dd>
- <ul>
-
- <li><a href="#method-i-to_json">to_json</a></li>
-
- </ul>
- </dd>
-
- </dl>
-
-
-
-
-
-
-
-
-
-
-
-
-
- <div class="sectiontitle">Instance Public methods</div>
-
- <div class="method">
- <div class="title" id="method-i-to_json">
-
- <a name="method-i-to_json"></a><b>to_json</b>(state = nil, depth = 0, *)
-
- </div>
-
- <div class="description">
- <p>
-Returns a <a href="../../../../JSON.html">JSON</a> string containing a <a
-href="../../../../JSON.html">JSON</a> array, that is unparsed from this <a
-href="Array.html">Array</a> instance. <em>state</em> is a JSON::State
-object, that can also be used to configure the produced <a
-href="../../../../JSON.html">JSON</a> string output further. <em>depth</em>
-is used to find out nesting depth, to indent accordingly.
-</p>
-
- </div>
-
-
-
-
- <div class="sourcecode">
- <p class="source-link">
- Source: <a href="javascript:toggleSource('method-i-to_json_source')" id="l_method-i-to_json_source">show</a>
-
- </p>
- <div id="method-i-to_json_source" class="dyn-source">
- <pre> <span class="ruby-comment cmt"># File lib/json/pure/generator.rb, line 305</span>
-305: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_json</span>(<span class="ruby-identifier">state</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">depth</span> = <span class="ruby-value">0</span>, *)
-306: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">state</span>
-307: <span class="ruby-identifier">state</span> = <span class="ruby-constant">State</span>.<span class="ruby-identifier">from_state</span>(<span class="ruby-identifier">state</span>)
-308: <span class="ruby-identifier">state</span>.<span class="ruby-identifier">check_max_nesting</span>(<span class="ruby-identifier">depth</span>)
-309: <span class="ruby-keyword kw">end</span>
-310: <span class="ruby-identifier">json_transform</span>(<span class="ruby-identifier">state</span>, <span class="ruby-identifier">depth</span>)
-311: <span class="ruby-keyword kw">end</span></pre>
- </div>
- </div>
-
- </div>
-
-</div>
- </div>
- </body>
-</html> \ No newline at end of file
diff --git a/doc/classes/JSON/Pure/Generator/GeneratorMethods/FalseClass.html b/doc/classes/JSON/Pure/Generator/GeneratorMethods/FalseClass.html
deleted file mode 100644
index 1cff241..0000000
--- a/doc/classes/JSON/Pure/Generator/GeneratorMethods/FalseClass.html
+++ /dev/null
@@ -1,101 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head>
- <title>JSON::Pure::Generator::GeneratorMethods::FalseClass</title>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <link rel="stylesheet" href="../../../../../css/reset.css" type="text/css" media="screen" />
- <link rel="stylesheet" href="../../../../../css/main.css" type="text/css" media="screen" />
- <script src="../../../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../../../../js/main.js" type="text/javascript" charset="utf-8"></script>
-</head>
-
-<body>
- <div class="banner">
- <h1>
- <span class="type">Module</span>
- JSON::Pure::Generator::GeneratorMethods::FalseClass
-
- </h1>
- <ul class="files">
-
- <li><a href="../../../../../files/lib/json/pure/generator_rb.html">lib/json/pure/generator.rb</a></li>
-
- </ul>
- </div>
- <div id="bodyContent">
- <div id="content">
-
-
-
-
-
-
-
-
-
- <div class="sectiontitle">Methods</div>
- <dl class="methods">
-
- <dt>T</dt>
- <dd>
- <ul>
-
- <li><a href="#method-i-to_json">to_json</a></li>
-
- </ul>
- </dd>
-
- </dl>
-
-
-
-
-
-
-
-
-
-
-
-
-
- <div class="sectiontitle">Instance Public methods</div>
-
- <div class="method">
- <div class="title" id="method-i-to_json">
-
- <a name="method-i-to_json"></a><b>to_json</b>(*)
-
- </div>
-
- <div class="description">
- <p>
-Returns a <a href="../../../../JSON.html">JSON</a> string for false:
-&#8216;false&#8217;.
-</p>
-
- </div>
-
-
-
-
- <div class="sourcecode">
- <p class="source-link">
- Source: <a href="javascript:toggleSource('method-i-to_json_source')" id="l_method-i-to_json_source">show</a>
-
- </p>
- <div id="method-i-to_json_source" class="dyn-source">
- <pre> <span class="ruby-comment cmt"># File lib/json/pure/generator.rb, line 442</span>
-442: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_json</span>(*) <span class="ruby-value str">'false'</span> <span class="ruby-keyword kw">end</span></pre>
- </div>
- </div>
-
- </div>
-
-</div>
- </div>
- </body>
-</html> \ No newline at end of file
diff --git a/doc/classes/JSON/Pure/Generator/GeneratorMethods/Float.html b/doc/classes/JSON/Pure/Generator/GeneratorMethods/Float.html
deleted file mode 100644
index 4976211..0000000
--- a/doc/classes/JSON/Pure/Generator/GeneratorMethods/Float.html
+++ /dev/null
@@ -1,118 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head>
- <title>JSON::Pure::Generator::GeneratorMethods::Float</title>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <link rel="stylesheet" href="../../../../../css/reset.css" type="text/css" media="screen" />
- <link rel="stylesheet" href="../../../../../css/main.css" type="text/css" media="screen" />
- <script src="../../../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../../../../js/main.js" type="text/javascript" charset="utf-8"></script>
-</head>
-
-<body>
- <div class="banner">
- <h1>
- <span class="type">Module</span>
- JSON::Pure::Generator::GeneratorMethods::Float
-
- </h1>
- <ul class="files">
-
- <li><a href="../../../../../files/lib/json/pure/generator_rb.html">lib/json/pure/generator.rb</a></li>
-
- </ul>
- </div>
- <div id="bodyContent">
- <div id="content">
-
-
-
-
-
-
-
-
-
- <div class="sectiontitle">Methods</div>
- <dl class="methods">
-
- <dt>T</dt>
- <dd>
- <ul>
-
- <li><a href="#method-i-to_json">to_json</a></li>
-
- </ul>
- </dd>
-
- </dl>
-
-
-
-
-
-
-
-
-
-
-
-
-
- <div class="sectiontitle">Instance Public methods</div>
-
- <div class="method">
- <div class="title" id="method-i-to_json">
-
- <a name="method-i-to_json"></a><b>to_json</b>(state = nil, *)
-
- </div>
-
- <div class="description">
- <p>
-Returns a <a href="../../../../JSON.html">JSON</a> string representation
-for this <a href="Float.html">Float</a> number.
-</p>
-
- </div>
-
-
-
-
- <div class="sourcecode">
- <p class="source-link">
- Source: <a href="javascript:toggleSource('method-i-to_json_source')" id="l_method-i-to_json_source">show</a>
-
- </p>
- <div id="method-i-to_json_source" class="dyn-source">
- <pre> <span class="ruby-comment cmt"># File lib/json/pure/generator.rb, line 347</span>
-347: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_json</span>(<span class="ruby-identifier">state</span> = <span class="ruby-keyword kw">nil</span>, *)
-348: <span class="ruby-keyword kw">case</span>
-349: <span class="ruby-keyword kw">when</span> <span class="ruby-identifier">infinite?</span>
-350: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">state</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">state</span>.<span class="ruby-identifier">allow_nan?</span>
-351: <span class="ruby-identifier">to_s</span>
-352: <span class="ruby-keyword kw">else</span>
-353: <span class="ruby-identifier">raise</span> <span class="ruby-constant">GeneratorError</span>, <span class="ruby-node">&quot;#{self} not allowed in JSON&quot;</span>
-354: <span class="ruby-keyword kw">end</span>
-355: <span class="ruby-keyword kw">when</span> <span class="ruby-identifier">nan?</span>
-356: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">state</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">state</span>.<span class="ruby-identifier">allow_nan?</span>
-357: <span class="ruby-identifier">to_s</span>
-358: <span class="ruby-keyword kw">else</span>
-359: <span class="ruby-identifier">raise</span> <span class="ruby-constant">GeneratorError</span>, <span class="ruby-node">&quot;#{self} not allowed in JSON&quot;</span>
-360: <span class="ruby-keyword kw">end</span>
-361: <span class="ruby-keyword kw">else</span>
-362: <span class="ruby-identifier">to_s</span>
-363: <span class="ruby-keyword kw">end</span>
-364: <span class="ruby-keyword kw">end</span></pre>
- </div>
- </div>
-
- </div>
-
-</div>
- </div>
- </body>
-</html> \ No newline at end of file
diff --git a/doc/classes/JSON/Pure/Generator/GeneratorMethods/Hash.html b/doc/classes/JSON/Pure/Generator/GeneratorMethods/Hash.html
deleted file mode 100644
index b011da0..0000000
--- a/doc/classes/JSON/Pure/Generator/GeneratorMethods/Hash.html
+++ /dev/null
@@ -1,111 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head>
- <title>JSON::Pure::Generator::GeneratorMethods::Hash</title>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <link rel="stylesheet" href="../../../../../css/reset.css" type="text/css" media="screen" />
- <link rel="stylesheet" href="../../../../../css/main.css" type="text/css" media="screen" />
- <script src="../../../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../../../../js/main.js" type="text/javascript" charset="utf-8"></script>
-</head>
-
-<body>
- <div class="banner">
- <h1>
- <span class="type">Module</span>
- JSON::Pure::Generator::GeneratorMethods::Hash
-
- </h1>
- <ul class="files">
-
- <li><a href="../../../../../files/lib/json/pure/generator_rb.html">lib/json/pure/generator.rb</a></li>
-
- </ul>
- </div>
- <div id="bodyContent">
- <div id="content">
-
-
-
-
-
-
-
-
-
- <div class="sectiontitle">Methods</div>
- <dl class="methods">
-
- <dt>T</dt>
- <dd>
- <ul>
-
- <li><a href="#method-i-to_json">to_json</a></li>
-
- </ul>
- </dd>
-
- </dl>
-
-
-
-
-
-
-
-
-
-
-
-
-
- <div class="sectiontitle">Instance Public methods</div>
-
- <div class="method">
- <div class="title" id="method-i-to_json">
-
- <a name="method-i-to_json"></a><b>to_json</b>(state = nil, depth = 0, *)
-
- </div>
-
- <div class="description">
- <p>
-Returns a <a href="../../../../JSON.html">JSON</a> string containing a <a
-href="../../../../JSON.html">JSON</a> object, that is unparsed from this <a
-href="Hash.html">Hash</a> instance. <em>state</em> is a JSON::State object,
-that can also be used to configure the produced <a
-href="../../../../JSON.html">JSON</a> string output further. <em>depth</em>
-is used to find out nesting depth, to indent accordingly.
-</p>
-
- </div>
-
-
-
-
- <div class="sourcecode">
- <p class="source-link">
- Source: <a href="javascript:toggleSource('method-i-to_json_source')" id="l_method-i-to_json_source">show</a>
-
- </p>
- <div id="method-i-to_json_source" class="dyn-source">
- <pre> <span class="ruby-comment cmt"># File lib/json/pure/generator.rb, line 250</span>
-250: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_json</span>(<span class="ruby-identifier">state</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">depth</span> = <span class="ruby-value">0</span>, *)
-251: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">state</span>
-252: <span class="ruby-identifier">state</span> = <span class="ruby-constant">State</span>.<span class="ruby-identifier">from_state</span>(<span class="ruby-identifier">state</span>)
-253: <span class="ruby-identifier">state</span>.<span class="ruby-identifier">check_max_nesting</span>(<span class="ruby-identifier">depth</span>)
-254: <span class="ruby-keyword kw">end</span>
-255: <span class="ruby-identifier">json_transform</span>(<span class="ruby-identifier">state</span>, <span class="ruby-identifier">depth</span>)
-256: <span class="ruby-keyword kw">end</span></pre>
- </div>
- </div>
-
- </div>
-
-</div>
- </div>
- </body>
-</html> \ No newline at end of file
diff --git a/doc/classes/JSON/Pure/Generator/GeneratorMethods/Integer.html b/doc/classes/JSON/Pure/Generator/GeneratorMethods/Integer.html
deleted file mode 100644
index 49bcace..0000000
--- a/doc/classes/JSON/Pure/Generator/GeneratorMethods/Integer.html
+++ /dev/null
@@ -1,101 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head>
- <title>JSON::Pure::Generator::GeneratorMethods::Integer</title>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <link rel="stylesheet" href="../../../../../css/reset.css" type="text/css" media="screen" />
- <link rel="stylesheet" href="../../../../../css/main.css" type="text/css" media="screen" />
- <script src="../../../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../../../../js/main.js" type="text/javascript" charset="utf-8"></script>
-</head>
-
-<body>
- <div class="banner">
- <h1>
- <span class="type">Module</span>
- JSON::Pure::Generator::GeneratorMethods::Integer
-
- </h1>
- <ul class="files">
-
- <li><a href="../../../../../files/lib/json/pure/generator_rb.html">lib/json/pure/generator.rb</a></li>
-
- </ul>
- </div>
- <div id="bodyContent">
- <div id="content">
-
-
-
-
-
-
-
-
-
- <div class="sectiontitle">Methods</div>
- <dl class="methods">
-
- <dt>T</dt>
- <dd>
- <ul>
-
- <li><a href="#method-i-to_json">to_json</a></li>
-
- </ul>
- </dd>
-
- </dl>
-
-
-
-
-
-
-
-
-
-
-
-
-
- <div class="sectiontitle">Instance Public methods</div>
-
- <div class="method">
- <div class="title" id="method-i-to_json">
-
- <a name="method-i-to_json"></a><b>to_json</b>(*)
-
- </div>
-
- <div class="description">
- <p>
-Returns a <a href="../../../../JSON.html">JSON</a> string representation
-for this <a href="Integer.html">Integer</a> number.
-</p>
-
- </div>
-
-
-
-
- <div class="sourcecode">
- <p class="source-link">
- Source: <a href="javascript:toggleSource('method-i-to_json_source')" id="l_method-i-to_json_source">show</a>
-
- </p>
- <div id="method-i-to_json_source" class="dyn-source">
- <pre> <span class="ruby-comment cmt"># File lib/json/pure/generator.rb, line 342</span>
-342: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_json</span>(*) <span class="ruby-identifier">to_s</span> <span class="ruby-keyword kw">end</span></pre>
- </div>
- </div>
-
- </div>
-
-</div>
- </div>
- </body>
-</html> \ No newline at end of file
diff --git a/doc/classes/JSON/Pure/Generator/GeneratorMethods/NilClass.html b/doc/classes/JSON/Pure/Generator/GeneratorMethods/NilClass.html
deleted file mode 100644
index 8f6f2cd..0000000
--- a/doc/classes/JSON/Pure/Generator/GeneratorMethods/NilClass.html
+++ /dev/null
@@ -1,101 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head>
- <title>JSON::Pure::Generator::GeneratorMethods::NilClass</title>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <link rel="stylesheet" href="../../../../../css/reset.css" type="text/css" media="screen" />
- <link rel="stylesheet" href="../../../../../css/main.css" type="text/css" media="screen" />
- <script src="../../../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../../../../js/main.js" type="text/javascript" charset="utf-8"></script>
-</head>
-
-<body>
- <div class="banner">
- <h1>
- <span class="type">Module</span>
- JSON::Pure::Generator::GeneratorMethods::NilClass
-
- </h1>
- <ul class="files">
-
- <li><a href="../../../../../files/lib/json/pure/generator_rb.html">lib/json/pure/generator.rb</a></li>
-
- </ul>
- </div>
- <div id="bodyContent">
- <div id="content">
-
-
-
-
-
-
-
-
-
- <div class="sectiontitle">Methods</div>
- <dl class="methods">
-
- <dt>T</dt>
- <dd>
- <ul>
-
- <li><a href="#method-i-to_json">to_json</a></li>
-
- </ul>
- </dd>
-
- </dl>
-
-
-
-
-
-
-
-
-
-
-
-
-
- <div class="sectiontitle">Instance Public methods</div>
-
- <div class="method">
- <div class="title" id="method-i-to_json">
-
- <a name="method-i-to_json"></a><b>to_json</b>(*)
-
- </div>
-
- <div class="description">
- <p>
-Returns a <a href="../../../../JSON.html">JSON</a> string for nil:
-&#8216;null&#8217;.
-</p>
-
- </div>
-
-
-
-
- <div class="sourcecode">
- <p class="source-link">
- Source: <a href="javascript:toggleSource('method-i-to_json_source')" id="l_method-i-to_json_source">show</a>
-
- </p>
- <div id="method-i-to_json_source" class="dyn-source">
- <pre> <span class="ruby-comment cmt"># File lib/json/pure/generator.rb, line 447</span>
-447: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_json</span>(*) <span class="ruby-value str">'null'</span> <span class="ruby-keyword kw">end</span></pre>
- </div>
- </div>
-
- </div>
-
-</div>
- </div>
- </body>
-</html> \ No newline at end of file
diff --git a/doc/classes/JSON/Pure/Generator/GeneratorMethods/Object.html b/doc/classes/JSON/Pure/Generator/GeneratorMethods/Object.html
deleted file mode 100644
index e103ba6..0000000
--- a/doc/classes/JSON/Pure/Generator/GeneratorMethods/Object.html
+++ /dev/null
@@ -1,103 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head>
- <title>JSON::Pure::Generator::GeneratorMethods::Object</title>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <link rel="stylesheet" href="../../../../../css/reset.css" type="text/css" media="screen" />
- <link rel="stylesheet" href="../../../../../css/main.css" type="text/css" media="screen" />
- <script src="../../../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../../../../js/main.js" type="text/javascript" charset="utf-8"></script>
-</head>
-
-<body>
- <div class="banner">
- <h1>
- <span class="type">Module</span>
- JSON::Pure::Generator::GeneratorMethods::Object
-
- </h1>
- <ul class="files">
-
- <li><a href="../../../../../files/lib/json/pure/generator_rb.html">lib/json/pure/generator.rb</a></li>
-
- </ul>
- </div>
- <div id="bodyContent">
- <div id="content">
-
-
-
-
-
-
-
-
-
- <div class="sectiontitle">Methods</div>
- <dl class="methods">
-
- <dt>T</dt>
- <dd>
- <ul>
-
- <li><a href="#method-i-to_json">to_json</a></li>
-
- </ul>
- </dd>
-
- </dl>
-
-
-
-
-
-
-
-
-
-
-
-
-
- <div class="sectiontitle">Instance Public methods</div>
-
- <div class="method">
- <div class="title" id="method-i-to_json">
-
- <a name="method-i-to_json"></a><b>to_json</b>(*)
-
- </div>
-
- <div class="description">
- <p>
-Converts this object to a string (calling #), converts it to a <a
-href="../../../../JSON.html">JSON</a> string, and returns the result. This
-is a fallback, if no special method <a
-href="Object.html#method-i-to_json">#</a> was defined for some object.
-</p>
-
- </div>
-
-
-
-
- <div class="sourcecode">
- <p class="source-link">
- Source: <a href="javascript:toggleSource('method-i-to_json_source')" id="l_method-i-to_json_source">show</a>
-
- </p>
- <div id="method-i-to_json_source" class="dyn-source">
- <pre> <span class="ruby-comment cmt"># File lib/json/pure/generator.rb, line 241</span>
-241: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_json</span>(*) <span class="ruby-identifier">to_s</span>.<span class="ruby-identifier">to_json</span> <span class="ruby-keyword kw">end</span></pre>
- </div>
- </div>
-
- </div>
-
-</div>
- </div>
- </body>
-</html> \ No newline at end of file
diff --git a/doc/classes/JSON/Pure/Generator/GeneratorMethods/String.html b/doc/classes/JSON/Pure/Generator/GeneratorMethods/String.html
deleted file mode 100644
index 94da5f0..0000000
--- a/doc/classes/JSON/Pure/Generator/GeneratorMethods/String.html
+++ /dev/null
@@ -1,286 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head>
- <title>JSON::Pure::Generator::GeneratorMethods::String</title>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <link rel="stylesheet" href="../../../../../css/reset.css" type="text/css" media="screen" />
- <link rel="stylesheet" href="../../../../../css/main.css" type="text/css" media="screen" />
- <script src="../../../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../../../../js/main.js" type="text/javascript" charset="utf-8"></script>
-</head>
-
-<body>
- <div class="banner">
- <h1>
- <span class="type">Module</span>
- JSON::Pure::Generator::GeneratorMethods::String
-
- </h1>
- <ul class="files">
-
- <li><a href="../../../../../files/lib/json/pure/generator_rb.html">lib/json/pure/generator.rb</a></li>
-
- </ul>
- </div>
- <div id="bodyContent">
- <div id="content">
-
-
-
-
-
-
-
-
-
- <div class="sectiontitle">Methods</div>
- <dl class="methods">
-
- <dt>I</dt>
- <dd>
- <ul>
-
- <li><a href="#method-c-included">included</a></li>
-
- </ul>
- </dd>
-
- <dt>T</dt>
- <dd>
- <ul>
-
- <li><a href="#method-i-to_json">to_json</a>,</li>
-
- <li><a href="#method-i-to_json">to_json</a>,</li>
-
- <li><a href="#method-i-to_json_raw">to_json_raw</a>,</li>
-
- <li><a href="#method-i-to_json_raw_object">to_json_raw_object</a></li>
-
- </ul>
- </dd>
-
- </dl>
-
-
-
-
-
-
-
- <div class="sectiontitle">Classes and Modules</div>
- <ul>
-
- <li><span class="type">MODULE</span> <a href="String/Extend.html">JSON::Pure::Generator::GeneratorMethods::String::Extend</a></li>
-
- </ul>
-
-
-
-
-
-
-
- <div class="sectiontitle">Class Public methods</div>
-
- <div class="method">
- <div class="title" id="method-c-included">
-
- <a name="method-c-included"></a><b>included</b>(modul)
-
- </div>
-
- <div class="description">
- <p>
-Extends <em>modul</em> with the <a
-href="String/Extend.html">String::Extend</a> module.
-</p>
-
- </div>
-
-
-
-
- <div class="sourcecode">
- <p class="source-link">
- Source: <a href="javascript:toggleSource('method-c-included_source')" id="l_method-c-included_source">show</a>
-
- </p>
- <div id="method-c-included_source" class="dyn-source">
- <pre> <span class="ruby-comment cmt"># File lib/json/pure/generator.rb, line 413</span>
-413: <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">included</span>(<span class="ruby-identifier">modul</span>)
-414: <span class="ruby-identifier">modul</span>.<span class="ruby-identifier">extend</span> <span class="ruby-constant">Extend</span>
-415: <span class="ruby-keyword kw">end</span></pre>
- </div>
- </div>
-
- </div>
-
- <div class="sectiontitle">Instance Public methods</div>
-
- <div class="method">
- <div class="title" id="method-i-to_json">
-
- <a name="method-i-to_json"></a><b>to_json</b>(*args)
-
- </div>
-
- <div class="description">
- <p>
-This string should be encoded with UTF-8 A call to this method returns a <a
-href="../../../../JSON.html">JSON</a> string encoded with UTF16 big endian
-characters as u????.
-</p>
-
- </div>
-
-
-
-
- <div class="sourcecode">
- <p class="source-link">
- Source: <a href="javascript:toggleSource('method-i-to_json_source')" id="l_method-i-to_json_source">show</a>
-
- </p>
- <div id="method-i-to_json_source" class="dyn-source">
- <pre> <span class="ruby-comment cmt"># File lib/json/pure/generator.rb, line 372</span>
-372: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_json</span>(*<span class="ruby-identifier">args</span>)
-373: <span class="ruby-identifier">state</span>, = *<span class="ruby-identifier">args</span>
-374: <span class="ruby-identifier">state</span> <span class="ruby-operator">||=</span> <span class="ruby-constant">State</span>.<span class="ruby-identifier">from_state</span>(<span class="ruby-identifier">state</span>)
-375: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">encoding</span> <span class="ruby-operator">==</span> <span class="ruby-operator">::</span><span class="ruby-constant">Encoding</span><span class="ruby-operator">::</span><span class="ruby-constant">UTF_8</span>
-376: <span class="ruby-identifier">string</span> = <span class="ruby-keyword kw">self</span>
-377: <span class="ruby-keyword kw">else</span>
-378: <span class="ruby-identifier">string</span> = <span class="ruby-identifier">encode</span>(<span class="ruby-operator">::</span><span class="ruby-constant">Encoding</span><span class="ruby-operator">::</span><span class="ruby-constant">UTF_8</span>)
-379: <span class="ruby-keyword kw">end</span>
-380: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">state</span>.<span class="ruby-identifier">ascii_only?</span>
-381: <span class="ruby-value str">'&quot;'</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-constant">JSON</span>.<span class="ruby-identifier">utf8_to_json_ascii</span>(<span class="ruby-identifier">string</span>) <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">'&quot;'</span>
-382: <span class="ruby-keyword kw">else</span>
-383: <span class="ruby-value str">'&quot;'</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-constant">JSON</span>.<span class="ruby-identifier">utf8_to_json</span>(<span class="ruby-identifier">string</span>) <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">'&quot;'</span>
-384: <span class="ruby-keyword kw">end</span>
-385: <span class="ruby-keyword kw">end</span></pre>
- </div>
- </div>
-
- </div>
-
- <div class="method">
- <div class="title" id="method-i-to_json">
-
- <a name="method-i-to_json"></a><b>to_json</b>(*args)
-
- </div>
-
- <div class="description">
- <p>
-This string should be encoded with UTF-8 A call to this method returns a <a
-href="../../../../JSON.html">JSON</a> string encoded with UTF16 big endian
-characters as u????.
-</p>
-
- </div>
-
-
-
-
- <div class="sourcecode">
- <p class="source-link">
- Source: <a href="javascript:toggleSource('method-i-to_json_source')" id="l_method-i-to_json_source">show</a>
-
- </p>
- <div id="method-i-to_json_source" class="dyn-source">
- <pre> <span class="ruby-comment cmt"># File lib/json/pure/generator.rb, line 390</span>
-390: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_json</span>(*<span class="ruby-identifier">args</span>)
-391: <span class="ruby-identifier">state</span>, = *<span class="ruby-identifier">args</span>
-392: <span class="ruby-identifier">state</span> <span class="ruby-operator">||=</span> <span class="ruby-constant">State</span>.<span class="ruby-identifier">from_state</span>(<span class="ruby-identifier">state</span>)
-393: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">state</span>.<span class="ruby-identifier">ascii_only?</span>
-394: <span class="ruby-value str">'&quot;'</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-constant">JSON</span>.<span class="ruby-identifier">utf8_to_json_ascii</span>(<span class="ruby-keyword kw">self</span>) <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">'&quot;'</span>
-395: <span class="ruby-keyword kw">else</span>
-396: <span class="ruby-value str">'&quot;'</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-constant">JSON</span>.<span class="ruby-identifier">utf8_to_json</span>(<span class="ruby-keyword kw">self</span>) <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">'&quot;'</span>
-397: <span class="ruby-keyword kw">end</span>
-398: <span class="ruby-keyword kw">end</span></pre>
- </div>
- </div>
-
- </div>
-
- <div class="method">
- <div class="title" id="method-i-to_json_raw">
-
- <a name="method-i-to_json_raw"></a><b>to_json_raw</b>(*args)
-
- </div>
-
- <div class="description">
- <p>
-This method creates a <a href="../../../../JSON.html">JSON</a> text from
-the result of a call to <a
-href="String.html#method-i-to_json_raw_object">to_json_raw_object</a> of
-this <a href="String.html">String</a>.
-</p>
-
- </div>
-
-
-
-
- <div class="sourcecode">
- <p class="source-link">
- Source: <a href="javascript:toggleSource('method-i-to_json_raw_source')" id="l_method-i-to_json_raw_source">show</a>
-
- </p>
- <div id="method-i-to_json_raw_source" class="dyn-source">
- <pre> <span class="ruby-comment cmt"># File lib/json/pure/generator.rb, line 430</span>
-430: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_json_raw</span>(*<span class="ruby-identifier">args</span>)
-431: <span class="ruby-identifier">to_json_raw_object</span>.<span class="ruby-identifier">to_json</span>(*<span class="ruby-identifier">args</span>)
-432: <span class="ruby-keyword kw">end</span></pre>
- </div>
- </div>
-
- </div>
-
- <div class="method">
- <div class="title" id="method-i-to_json_raw_object">
-
- <a name="method-i-to_json_raw_object"></a><b>to_json_raw_object</b>()
-
- </div>
-
- <div class="description">
- <p>
-This method creates a raw object hash, that can be nested into other data
-structures and will be unparsed as a raw string. This method should be
-used, if you want to convert raw strings to <a
-href="../../../../JSON.html">JSON</a> instead of UTF-8 strings, e. g.
-binary data.
-</p>
-
- </div>
-
-
-
-
- <div class="sourcecode">
- <p class="source-link">
- Source: <a href="javascript:toggleSource('method-i-to_json_raw_object_source')" id="l_method-i-to_json_raw_object_source">show</a>
-
- </p>
- <div id="method-i-to_json_raw_object_source" class="dyn-source">
- <pre> <span class="ruby-comment cmt"># File lib/json/pure/generator.rb, line 421</span>
-421: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_json_raw_object</span>
-422: {
-423: <span class="ruby-constant">JSON</span>.<span class="ruby-identifier">create_id</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">name</span>,
-424: <span class="ruby-value str">'raw'</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">unpack</span>(<span class="ruby-value str">'C*'</span>),
-425: }
-426: <span class="ruby-keyword kw">end</span></pre>
- </div>
- </div>
-
- </div>
-
-</div>
- </div>
- </body>
-</html> \ No newline at end of file
diff --git a/doc/classes/JSON/Pure/Generator/GeneratorMethods/String/Extend.html b/doc/classes/JSON/Pure/Generator/GeneratorMethods/String/Extend.html
deleted file mode 100644
index ba80233..0000000
--- a/doc/classes/JSON/Pure/Generator/GeneratorMethods/String/Extend.html
+++ /dev/null
@@ -1,112 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head>
- <title>JSON::Pure::Generator::GeneratorMethods::String::Extend</title>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <link rel="stylesheet" href="../../../../../../css/reset.css" type="text/css" media="screen" />
- <link rel="stylesheet" href="../../../../../../css/main.css" type="text/css" media="screen" />
- <script src="../../../../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../../../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../../../../../js/main.js" type="text/javascript" charset="utf-8"></script>
-</head>
-
-<body>
- <div class="banner">
- <h1>
- <span class="type">Module</span>
- JSON::Pure::Generator::GeneratorMethods::String::Extend
-
- </h1>
- <ul class="files">
-
- <li><a href="../../../../../../files/lib/json/pure/generator_rb.html">lib/json/pure/generator.rb</a></li>
-
- </ul>
- </div>
- <div id="bodyContent">
- <div id="content">
-
- <div class="description">
- <p>
-Module that holds the extinding methods if, the <a
-href="../String.html">String</a> module is included.
-</p>
-
- </div>
-
-
-
-
-
-
-
-
-
- <div class="sectiontitle">Methods</div>
- <dl class="methods">
-
- <dt>J</dt>
- <dd>
- <ul>
-
- <li><a href="#method-i-json_create">json_create</a></li>
-
- </ul>
- </dd>
-
- </dl>
-
-
-
-
-
-
-
-
-
-
-
-
-
- <div class="sectiontitle">Instance Public methods</div>
-
- <div class="method">
- <div class="title" id="method-i-json_create">
-
- <a name="method-i-json_create"></a><b>json_create</b>(o)
-
- </div>
-
- <div class="description">
- <p>
-Raw Strings are <a href="../../../../../JSON.html">JSON</a> Objects (the
-raw bytes are stored in an array for the key &#8220;raw&#8221;). The Ruby
-<a href="../String.html">String</a> can be created by this module method.
-</p>
-
- </div>
-
-
-
-
- <div class="sourcecode">
- <p class="source-link">
- Source: <a href="javascript:toggleSource('method-i-json_create_source')" id="l_method-i-json_create_source">show</a>
-
- </p>
- <div id="method-i-json_create_source" class="dyn-source">
- <pre> <span class="ruby-comment cmt"># File lib/json/pure/generator.rb, line 407</span>
-407: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">json_create</span>(<span class="ruby-identifier">o</span>)
-408: <span class="ruby-identifier">o</span>[<span class="ruby-value str">'raw'</span>].<span class="ruby-identifier">pack</span>(<span class="ruby-value str">'C*'</span>)
-409: <span class="ruby-keyword kw">end</span></pre>
- </div>
- </div>
-
- </div>
-
-</div>
- </div>
- </body>
-</html> \ No newline at end of file
diff --git a/doc/classes/JSON/Pure/Generator/GeneratorMethods/TrueClass.html b/doc/classes/JSON/Pure/Generator/GeneratorMethods/TrueClass.html
deleted file mode 100644
index b1d09b1..0000000
--- a/doc/classes/JSON/Pure/Generator/GeneratorMethods/TrueClass.html
+++ /dev/null
@@ -1,101 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head>
- <title>JSON::Pure::Generator::GeneratorMethods::TrueClass</title>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <link rel="stylesheet" href="../../../../../css/reset.css" type="text/css" media="screen" />
- <link rel="stylesheet" href="../../../../../css/main.css" type="text/css" media="screen" />
- <script src="../../../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../../../../js/main.js" type="text/javascript" charset="utf-8"></script>
-</head>
-
-<body>
- <div class="banner">
- <h1>
- <span class="type">Module</span>
- JSON::Pure::Generator::GeneratorMethods::TrueClass
-
- </h1>
- <ul class="files">
-
- <li><a href="../../../../../files/lib/json/pure/generator_rb.html">lib/json/pure/generator.rb</a></li>
-
- </ul>
- </div>
- <div id="bodyContent">
- <div id="content">
-
-
-
-
-
-
-
-
-
- <div class="sectiontitle">Methods</div>
- <dl class="methods">
-
- <dt>T</dt>
- <dd>
- <ul>
-
- <li><a href="#method-i-to_json">to_json</a></li>
-
- </ul>
- </dd>
-
- </dl>
-
-
-
-
-
-
-
-
-
-
-
-
-
- <div class="sectiontitle">Instance Public methods</div>
-
- <div class="method">
- <div class="title" id="method-i-to_json">
-
- <a name="method-i-to_json"></a><b>to_json</b>(*)
-
- </div>
-
- <div class="description">
- <p>
-Returns a <a href="../../../../JSON.html">JSON</a> string for true:
-&#8216;true&#8217;.
-</p>
-
- </div>
-
-
-
-
- <div class="sourcecode">
- <p class="source-link">
- Source: <a href="javascript:toggleSource('method-i-to_json_source')" id="l_method-i-to_json_source">show</a>
-
- </p>
- <div id="method-i-to_json_source" class="dyn-source">
- <pre> <span class="ruby-comment cmt"># File lib/json/pure/generator.rb, line 437</span>
-437: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_json</span>(*) <span class="ruby-value str">'true'</span> <span class="ruby-keyword kw">end</span></pre>
- </div>
- </div>
-
- </div>
-
-</div>
- </div>
- </body>
-</html> \ No newline at end of file
diff --git a/doc/classes/JSON/Pure/Generator/State.html b/doc/classes/JSON/Pure/Generator/State.html
deleted file mode 100644
index b1c434c..0000000
--- a/doc/classes/JSON/Pure/Generator/State.html
+++ /dev/null
@@ -1,596 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head>
- <title>JSON::Pure::Generator::State</title>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <link rel="stylesheet" href="../../../../css/reset.css" type="text/css" media="screen" />
- <link rel="stylesheet" href="../../../../css/main.css" type="text/css" media="screen" />
- <script src="../../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../../../js/main.js" type="text/javascript" charset="utf-8"></script>
-</head>
-
-<body>
- <div class="banner">
- <h1>
- <span class="type">Class</span>
- JSON::Pure::Generator::State
-
- <span class="parent">&lt;
-
- <a href="../../../Object.html">Object</a>
-
- </span>
-
- </h1>
- <ul class="files">
-
- <li><a href="../../../../files/lib/json/pure/generator_rb.html">lib/json/pure/generator.rb</a></li>
-
- </ul>
- </div>
- <div id="bodyContent">
- <div id="content">
-
- <div class="description">
- <p>
-This class is used to create <a href="State.html">State</a> instances, that
-are use to hold data while generating a <a
-href="../../../JSON.html">JSON</a> text from a a Ruby data structure.
-</p>
-
- </div>
-
-
-
-
-
-
-
-
-
- <div class="sectiontitle">Methods</div>
- <dl class="methods">
-
- <dt>#</dt>
- <dd>
- <ul>
-
- <li><a href="#method-i-%5B%5D">[]</a></li>
-
- </ul>
- </dd>
-
- <dt>A</dt>
- <dd>
- <ul>
-
- <li><a href="#method-i-allow_nan%3F">allow_nan?</a>,</li>
-
- <li><a href="#method-i-ascii_only%3F">ascii_only?</a></li>
-
- </ul>
- </dd>
-
- <dt>C</dt>
- <dd>
- <ul>
-
- <li><a href="#method-i-check_circular%3F">check_circular?</a>,</li>
-
- <li><a href="#method-i-configure">configure</a></li>
-
- </ul>
- </dd>
-
- <dt>F</dt>
- <dd>
- <ul>
-
- <li><a href="#method-c-from_state">from_state</a></li>
-
- </ul>
- </dd>
-
- <dt>G</dt>
- <dd>
- <ul>
-
- <li><a href="#method-i-generate">generate</a></li>
-
- </ul>
- </dd>
-
- <dt>N</dt>
- <dd>
- <ul>
-
- <li><a href="#method-c-new">new</a></li>
-
- </ul>
- </dd>
-
- <dt>T</dt>
- <dd>
- <ul>
-
- <li><a href="#method-i-to_h">to_h</a></li>
-
- </ul>
- </dd>
-
- </dl>
-
-
-
-
-
-
-
-
-
-
-
- <div class="sectiontitle">Attributes</div>
- <table border='0' cellpadding='5'>
-
- <tr valign='top'>
- <td class='attr-rw'>
- [RW]
- </td>
- <td class='attr-name'>indent</td>
- <td class='attr-desc'><p>
-This string is used to indent levels in the <a
-href="../../../JSON.html">JSON</a> text.
-</p></td>
- </tr>
-
- <tr valign='top'>
- <td class='attr-rw'>
- [RW]
- </td>
- <td class='attr-name'>space</td>
- <td class='attr-desc'><p>
-This string is used to insert a space between the tokens in a <a
-href="../../../JSON.html">JSON</a> string.
-</p></td>
- </tr>
-
- <tr valign='top'>
- <td class='attr-rw'>
- [RW]
- </td>
- <td class='attr-name'>space_before</td>
- <td class='attr-desc'><p>
-This string is used to insert a space before the &#8217;:&#8217; in <a
-href="../../../JSON.html">JSON</a> objects.
-</p></td>
- </tr>
-
- <tr valign='top'>
- <td class='attr-rw'>
- [RW]
- </td>
- <td class='attr-name'>object_nl</td>
- <td class='attr-desc'><p>
-This string is put at the end of a line that holds a <a
-href="../../../JSON.html">JSON</a> object (or Hash).
-</p></td>
- </tr>
-
- <tr valign='top'>
- <td class='attr-rw'>
- [RW]
- </td>
- <td class='attr-name'>array_nl</td>
- <td class='attr-desc'><p>
-This string is put at the end of a line that holds a <a
-href="../../../JSON.html">JSON</a> array.
-</p></td>
- </tr>
-
- <tr valign='top'>
- <td class='attr-rw'>
- [RW]
- </td>
- <td class='attr-name'>max_nesting</td>
- <td class='attr-desc'><p>
-This integer returns the maximum level of data structure nesting in the
-generated <a href="../../../JSON.html">JSON</a>, <a
-href="State.html#max_nesting">max_nesting</a> = 0 if no maximum is checked.
-</p></td>
- </tr>
-
- </table>
-
-
-
- <div class="sectiontitle">Class Public methods</div>
-
- <div class="method">
- <div class="title" id="method-c-from_state">
-
- <a name="method-c-from_state"></a><b>from_state</b>(opts)
-
- </div>
-
- <div class="description">
- <p>
-Creates a <a href="State.html">State</a> object from <em>opts</em>, which
-ought to be Hash to create a new <a href="State.html">State</a> instance
-configured by <em>opts</em>, something else to create an unconfigured
-instance. If <em>opts</em> is a <a href="State.html">State</a> object, it
-is just returned.
-</p>
-
- </div>
-
-
-
-
- <div class="sourcecode">
- <p class="source-link">
- Source: <a href="javascript:toggleSource('method-c-from_state_source')" id="l_method-c-from_state_source">show</a>
-
- </p>
- <div id="method-c-from_state_source" class="dyn-source">
- <pre> <span class="ruby-comment cmt"># File lib/json/pure/generator.rb, line 108</span>
-108: <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">from_state</span>(<span class="ruby-identifier">opts</span>)
-109: <span class="ruby-keyword kw">case</span> <span class="ruby-identifier">opts</span>
-110: <span class="ruby-keyword kw">when</span> <span class="ruby-keyword kw">self</span>
-111: <span class="ruby-identifier">opts</span>
-112: <span class="ruby-keyword kw">when</span> <span class="ruby-constant">Hash</span>
-113: <span class="ruby-identifier">new</span>(<span class="ruby-identifier">opts</span>)
-114: <span class="ruby-keyword kw">else</span>
-115: <span class="ruby-constant">SAFE_STATE_PROTOTYPE</span>
-116: <span class="ruby-keyword kw">end</span>
-117: <span class="ruby-keyword kw">end</span></pre>
- </div>
- </div>
-
- </div>
-
- <div class="method">
- <div class="title" id="method-c-new">
-
- <a name="method-c-new"></a><b>new</b>(opts = {})
-
- </div>
-
- <div class="description">
- <p>
-Instantiates a new <a href="State.html">State</a> object, configured by
-<em>opts</em>.
-</p>
-<p>
-<em>opts</em> can have the following keys:
-</p>
-<ul>
-<li><p>
-<b>indent</b>: a string used to indent levels (default: &#8217;&#8217;),
-</p>
-</li>
-<li><p>
-<b>space</b>: a string that is put after, a : or , delimiter (default:
-&#8217;&#8217;),
-</p>
-</li>
-<li><p>
-<b><a href="State.html#space_before">space_before</a></b>: a string that is
-put before a : pair delimiter (default: &#8217;&#8217;),
-</p>
-</li>
-<li><p>
-<b><a href="State.html#object_nl">object_nl</a></b>: a string that is put
-at the end of a <a href="../../../JSON.html">JSON</a> object (default:
-&#8217;&#8217;),
-</p>
-</li>
-<li><p>
-<b><a href="State.html#array_nl">array_nl</a></b>: a string that is put at
-the end of a <a href="../../../JSON.html">JSON</a> array (default:
-&#8217;&#8217;),
-</p>
-</li>
-<li><p>
-<b>check_circular</b>: is deprecated now, use the :<a
-href="State.html#max_nesting">max_nesting</a> option instead,
-</p>
-</li>
-<li><p>
-<b><a href="State.html#max_nesting">max_nesting</a></b>: sets the maximum
-level of data structure nesting in the generated <a
-href="../../../JSON.html">JSON</a>, <a
-href="State.html#max_nesting">max_nesting</a> = 0 if no maximum should be
-checked.
-</p>
-</li>
-<li><p>
-<b>allow_nan</b>: true if NaN, Infinity, and -Infinity should be generated,
-otherwise an exception is thrown, if these values are encountered. This
-options defaults to false.
-</p>
-</li>
-</ul>
-
- </div>
-
-
-
-
- <div class="sourcecode">
- <p class="source-link">
- Source: <a href="javascript:toggleSource('method-c-new_source')" id="l_method-c-new_source">show</a>
-
- </p>
- <div id="method-c-new_source" class="dyn-source">
- <pre> <span class="ruby-comment cmt"># File lib/json/pure/generator.rb, line 134</span>
-134: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">opts</span> = {})
-135: <span class="ruby-ivar">@indent</span> = <span class="ruby-value str">''</span>
-136: <span class="ruby-ivar">@space</span> = <span class="ruby-value str">''</span>
-137: <span class="ruby-ivar">@space_before</span> = <span class="ruby-value str">''</span>
-138: <span class="ruby-ivar">@object_nl</span> = <span class="ruby-value str">''</span>
-139: <span class="ruby-ivar">@array_nl</span> = <span class="ruby-value str">''</span>
-140: <span class="ruby-ivar">@allow_nan</span> = <span class="ruby-keyword kw">false</span>
-141: <span class="ruby-ivar">@ascii_only</span> = <span class="ruby-keyword kw">false</span>
-142: <span class="ruby-identifier">configure</span> <span class="ruby-identifier">opts</span>
-143: <span class="ruby-keyword kw">end</span></pre>
- </div>
- </div>
-
- </div>
-
- <div class="sectiontitle">Instance Public methods</div>
-
- <div class="method">
- <div class="title" id="method-i-%5B%5D">
-
- <a name="method-i-%5B%5D"></a><b>[]</b>(name)
-
- </div>
-
- <div class="description">
- <p>
-Return the value returned by method <tt>name</tt>.
-</p>
-
- </div>
-
-
-
-
- <div class="sourcecode">
- <p class="source-link">
- Source: <a href="javascript:toggleSource('method-i-%5B%5D_source')" id="l_method-i-%5B%5D_source">show</a>
-
- </p>
- <div id="method-i-%5B%5D_source" class="dyn-source">
- <pre> <span class="ruby-comment cmt"># File lib/json/pure/generator.rb, line 231</span>
-231: <span class="ruby-keyword kw">def</span> <span class="ruby-operator">[]</span>(<span class="ruby-identifier">name</span>)
-232: <span class="ruby-identifier">__send__</span> <span class="ruby-identifier">name</span>
-233: <span class="ruby-keyword kw">end</span></pre>
- </div>
- </div>
-
- </div>
-
- <div class="method">
- <div class="title" id="method-i-allow_nan%3F">
-
- <a name="method-i-allow_nan%3F"></a><b>allow_nan?</b>()
-
- </div>
-
- <div class="description">
- <p>
-Returns true if NaN, Infinity, and -Infinity should be considered as valid
-<a href="../../../JSON.html">JSON</a> and output.
-</p>
-
- </div>
-
-
-
-
- <div class="sourcecode">
- <p class="source-link">
- Source: <a href="javascript:toggleSource('method-i-allow_nan%3F_source')" id="l_method-i-allow_nan%3F_source">show</a>
-
- </p>
- <div id="method-i-allow_nan%3F_source" class="dyn-source">
- <pre> <span class="ruby-comment cmt"># File lib/json/pure/generator.rb, line 181</span>
-181: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">allow_nan?</span>
-182: <span class="ruby-ivar">@allow_nan</span>
-183: <span class="ruby-keyword kw">end</span></pre>
- </div>
- </div>
-
- </div>
-
- <div class="method">
- <div class="title" id="method-i-ascii_only%3F">
-
- <a name="method-i-ascii_only%3F"></a><b>ascii_only?</b>()
-
- </div>
-
-
-
-
- <div class="sourcecode">
- <p class="source-link">
- Source: <a href="javascript:toggleSource('method-i-ascii_only%3F_source')" id="l_method-i-ascii_only%3F_source">show</a>
-
- </p>
- <div id="method-i-ascii_only%3F_source" class="dyn-source">
- <pre> <span class="ruby-comment cmt"># File lib/json/pure/generator.rb, line 185</span>
-185: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">ascii_only?</span>
-186: <span class="ruby-ivar">@ascii_only</span>
-187: <span class="ruby-keyword kw">end</span></pre>
- </div>
- </div>
-
- </div>
-
- <div class="method">
- <div class="title" id="method-i-check_circular%3F">
-
- <a name="method-i-check_circular%3F"></a><b>check_circular?</b>()
-
- </div>
-
- <div class="description">
- <p>
-Returns true, if circular data structures are checked, otherwise returns
-false.
-</p>
-
- </div>
-
-
-
-
- <div class="sourcecode">
- <p class="source-link">
- Source: <a href="javascript:toggleSource('method-i-check_circular%3F_source')" id="l_method-i-check_circular%3F_source">show</a>
-
- </p>
- <div id="method-i-check_circular%3F_source" class="dyn-source">
- <pre> <span class="ruby-comment cmt"># File lib/json/pure/generator.rb, line 175</span>
-175: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">check_circular?</span>
-176: <span class="ruby-operator">!</span><span class="ruby-ivar">@max_nesting</span>.<span class="ruby-identifier">zero?</span>
-177: <span class="ruby-keyword kw">end</span></pre>
- </div>
- </div>
-
- </div>
-
- <div class="method">
- <div class="title" id="method-i-configure">
-
- <a name="method-i-configure"></a><b>configure</b>(opts)
-
- </div>
-
- <div class="description">
- <p>
-Configure this <a href="State.html">State</a> instance with the Hash
-<em>opts</em>, and return itself.
-</p>
-
- </div>
-
-
-
-
- <div class="sourcecode">
- <p class="source-link">
- Source: <a href="javascript:toggleSource('method-i-configure_source')" id="l_method-i-configure_source">show</a>
-
- </p>
- <div id="method-i-configure_source" class="dyn-source">
- <pre> <span class="ruby-comment cmt"># File lib/json/pure/generator.rb, line 191</span>
-191: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">configure</span>(<span class="ruby-identifier">opts</span>)
-192: <span class="ruby-ivar">@indent</span> = <span class="ruby-identifier">opts</span>[<span class="ruby-value">:indent</span>] <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">opts</span>.<span class="ruby-identifier">key?</span>(<span class="ruby-value">:indent</span>)
-193: <span class="ruby-ivar">@space</span> = <span class="ruby-identifier">opts</span>[<span class="ruby-value">:space</span>] <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">opts</span>.<span class="ruby-identifier">key?</span>(<span class="ruby-value">:space</span>)
-194: <span class="ruby-ivar">@space_before</span> = <span class="ruby-identifier">opts</span>[<span class="ruby-value">:space_before</span>] <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">opts</span>.<span class="ruby-identifier">key?</span>(<span class="ruby-value">:space_before</span>)
-195: <span class="ruby-ivar">@object_nl</span> = <span class="ruby-identifier">opts</span>[<span class="ruby-value">:object_nl</span>] <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">opts</span>.<span class="ruby-identifier">key?</span>(<span class="ruby-value">:object_nl</span>)
-196: <span class="ruby-ivar">@array_nl</span> = <span class="ruby-identifier">opts</span>[<span class="ruby-value">:array_nl</span>] <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">opts</span>.<span class="ruby-identifier">key?</span>(<span class="ruby-value">:array_nl</span>)
-197: <span class="ruby-ivar">@allow_nan</span> = <span class="ruby-operator">!</span><span class="ruby-operator">!</span><span class="ruby-identifier">opts</span>[<span class="ruby-value">:allow_nan</span>] <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">opts</span>.<span class="ruby-identifier">key?</span>(<span class="ruby-value">:allow_nan</span>)
-198: <span class="ruby-ivar">@ascii_only</span> = <span class="ruby-identifier">opts</span>[<span class="ruby-value">:ascii_only</span>] <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">opts</span>.<span class="ruby-identifier">key?</span>(<span class="ruby-value">:ascii_only</span>)
-199: <span class="ruby-keyword kw">if</span> <span class="ruby-operator">!</span><span class="ruby-identifier">opts</span>.<span class="ruby-identifier">key?</span>(<span class="ruby-value">:max_nesting</span>) <span class="ruby-comment cmt"># defaults to 19</span>
-200: <span class="ruby-ivar">@max_nesting</span> = <span class="ruby-value">19</span>
-201: <span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">opts</span>[<span class="ruby-value">:max_nesting</span>]
-202: <span class="ruby-ivar">@max_nesting</span> = <span class="ruby-identifier">opts</span>[<span class="ruby-value">:max_nesting</span>]
-203: <span class="ruby-keyword kw">else</span>
-204: <span class="ruby-ivar">@max_nesting</span> = <span class="ruby-value">0</span>
-205: <span class="ruby-keyword kw">end</span>
-206: <span class="ruby-keyword kw">self</span>
-207: <span class="ruby-keyword kw">end</span></pre>
- </div>
- </div>
-
- </div>
-
- <div class="method">
- <div class="title" id="method-i-generate">
-
- <a name="method-i-generate"></a><b>generate</b>(obj)
-
- </div>
-
- <div class="description">
- <p>
-Generates a valid <a href="../../../JSON.html">JSON</a> document from
-object <tt>obj</tt> and returns the result. If no valid <a
-href="../../../JSON.html">JSON</a> document can be created this method
-raises a <a href="../../GeneratorError.html">GeneratorError</a> exception.
-</p>
-
- </div>
-
-
-
-
- <div class="sourcecode">
- <p class="source-link">
- Source: <a href="javascript:toggleSource('method-i-generate_source')" id="l_method-i-generate_source">show</a>
-
- </p>
- <div id="method-i-generate_source" class="dyn-source">
- <pre> <span class="ruby-comment cmt"># File lib/json/pure/generator.rb, line 222</span>
-222: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">generate</span>(<span class="ruby-identifier">obj</span>)
-223: <span class="ruby-identifier">result</span> = <span class="ruby-identifier">obj</span>.<span class="ruby-identifier">to_json</span>(<span class="ruby-keyword kw">self</span>)
-224: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">result</span> <span class="ruby-operator">!~</span> <span class="ruby-regexp re">/\A\s*(?:\[.*\]|\{.*\})\s*\Z/</span>
-225: <span class="ruby-identifier">raise</span> <span class="ruby-constant">GeneratorError</span>, <span class="ruby-value str">&quot;only generation of JSON objects or arrays allowed&quot;</span>
-226: <span class="ruby-keyword kw">end</span>
-227: <span class="ruby-identifier">result</span>
-228: <span class="ruby-keyword kw">end</span></pre>
- </div>
- </div>
-
- </div>
-
- <div class="method">
- <div class="title" id="method-i-to_h">
-
- <a name="method-i-to_h"></a><b>to_h</b>()
-
- </div>
-
- <div class="description">
- <p>
-Returns the configuration instance variables as a hash, that can be passed
-to the configure method.
-</p>
-
- </div>
-
-
-
-
- <div class="sourcecode">
- <p class="source-link">
- Source: <a href="javascript:toggleSource('method-i-to_h_source')" id="l_method-i-to_h_source">show</a>
-
- </p>
- <div id="method-i-to_h_source" class="dyn-source">
- <pre> <span class="ruby-comment cmt"># File lib/json/pure/generator.rb, line 211</span>
-211: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_h</span>
-212: <span class="ruby-identifier">result</span> = {}
-213: <span class="ruby-keyword kw">for</span> <span class="ruby-identifier">iv</span> <span class="ruby-keyword kw">in</span> <span class="ruby-node">]indent space space_before object_nl array_nl allow_nan max_nesting]</span>
-214: <span class="ruby-identifier">result</span>[<span class="ruby-identifier">iv</span>.<span class="ruby-identifier">intern</span>] = <span class="ruby-identifier">instance_variable_get</span>(<span class="ruby-node">&quot;@#{iv}&quot;</span>)
-215: <span class="ruby-keyword kw">end</span>
-216: <span class="ruby-identifier">result</span>
-217: <span class="ruby-keyword kw">end</span></pre>
- </div>
- </div>
-
- </div>
-
-</div>
- </div>
- </body>
-</html> \ No newline at end of file
diff --git a/doc/classes/JSON/Pure/Parser.html b/doc/classes/JSON/Pure/Parser.html
deleted file mode 100644
index 6efa138..0000000
--- a/doc/classes/JSON/Pure/Parser.html
+++ /dev/null
@@ -1,407 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head>
- <title>JSON::Pure::Parser</title>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
- <link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
- <script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
-</head>
-
-<body>
- <div class="banner">
- <h1>
- <span class="type">Class</span>
- JSON::Pure::Parser
-
- <span class="parent">&lt;
-
- StringScanner
-
- </span>
-
- </h1>
- <ul class="files">
-
- <li><a href="../../../files/lib/json/pure/parser_rb.html">lib/json/pure/parser.rb</a></li>
-
- </ul>
- </div>
- <div id="bodyContent">
- <div id="content">
-
- <div class="description">
- <p>
-This class implements the <a href="../../JSON.html">JSON</a> parser that is
-used to parse a <a href="../../JSON.html">JSON</a> string into a Ruby data
-structure.
-</p>
-
- </div>
-
-
-
-
-
-
-
-
-
- <div class="sectiontitle">Methods</div>
- <dl class="methods">
-
- <dt>N</dt>
- <dd>
- <ul>
-
- <li><a href="#method-c-new">new</a></li>
-
- </ul>
- </dd>
-
- <dt>P</dt>
- <dd>
- <ul>
-
- <li><a href="#method-i-parse">parse</a></li>
-
- </ul>
- </dd>
-
- </dl>
-
-
-
-
-
-
-
-
-
- <div class="sectiontitle">Constants</div>
- <table border='0' cellpadding='5'>
-
- <tr valign='top'>
- <td class="attr-name">STRING</td>
- <td>=</td>
- <td class="attr-value">/&quot; ((?:[^\x0-\x1f&quot;\\] | # escaped special characters: \\[&quot;\\\/bfnrt] | \\u[0-9a-fA-F]{4} | # match all but escaped special characters: \\[\x20-\x21\x23-\x2e\x30-\x5b\x5d-\x61\x63-\x65\x67-\x6d\x6f-\x71\x73\x75-\xff])*) &quot;/nx</td>
- </tr>
-
-
- <tr valign='top'>
- <td class="attr-name">INTEGER</td>
- <td>=</td>
- <td class="attr-value">/(-?0|-?[1-9]\d*)/</td>
- </tr>
-
-
- <tr valign='top'>
- <td class="attr-name">FLOAT</td>
- <td>=</td>
- <td class="attr-value">/(-? (?:0|[1-9]\d*) (?: \.\d+(?i:e[+-]?\d+) | \.\d+ | (?i:e[+-]?\d+) ) )/x</td>
- </tr>
-
-
- <tr valign='top'>
- <td class="attr-name">NAN</td>
- <td>=</td>
- <td class="attr-value">/NaN/</td>
- </tr>
-
-
- <tr valign='top'>
- <td class="attr-name">INFINITY</td>
- <td>=</td>
- <td class="attr-value">/Infinity/</td>
- </tr>
-
-
- <tr valign='top'>
- <td class="attr-name">MINUS_INFINITY</td>
- <td>=</td>
- <td class="attr-value">/-Infinity/</td>
- </tr>
-
-
- <tr valign='top'>
- <td class="attr-name">OBJECT_OPEN</td>
- <td>=</td>
- <td class="attr-value">/\{/</td>
- </tr>
-
-
- <tr valign='top'>
- <td class="attr-name">OBJECT_CLOSE</td>
- <td>=</td>
- <td class="attr-value">/\}/</td>
- </tr>
-
-
- <tr valign='top'>
- <td class="attr-name">ARRAY_OPEN</td>
- <td>=</td>
- <td class="attr-value">/\[/</td>
- </tr>
-
-
- <tr valign='top'>
- <td class="attr-name">ARRAY_CLOSE</td>
- <td>=</td>
- <td class="attr-value">/\]/</td>
- </tr>
-
-
- <tr valign='top'>
- <td class="attr-name">PAIR_DELIMITER</td>
- <td>=</td>
- <td class="attr-value">/:/</td>
- </tr>
-
-
- <tr valign='top'>
- <td class="attr-name">COLLECTION_DELIMITER</td>
- <td>=</td>
- <td class="attr-value">/,/</td>
- </tr>
-
-
- <tr valign='top'>
- <td class="attr-name">TRUE</td>
- <td>=</td>
- <td class="attr-value">/true/</td>
- </tr>
-
-
- <tr valign='top'>
- <td class="attr-name">FALSE</td>
- <td>=</td>
- <td class="attr-value">/false/</td>
- </tr>
-
-
- <tr valign='top'>
- <td class="attr-name">NULL</td>
- <td>=</td>
- <td class="attr-value">/null/</td>
- </tr>
-
-
- <tr valign='top'>
- <td class="attr-name">IGNORE</td>
- <td>=</td>
- <td class="attr-value">%r( (?: //[^\n\r]*[\n\r]| # line comments /\* # c-style comments (?: [^*/]| # normal chars /[^*]| # slashes that do not start a nested comment \*[^/]| # asterisks that do not end this comment /(?=\*/) # single slash before this comment's end )* \*/ # the End of this comment |[ \t\r\n]+ # whitespaces: space, horicontal tab, lf, cr )+ )mx</td>
- </tr>
-
-
- <tr valign='top'>
- <td class="attr-name">UNPARSED</td>
- <td>=</td>
- <td class="attr-value">Object.new</td>
- </tr>
-
-
- <tr valign='top'>
- <td class="attr-name">UNESCAPE_MAP</td>
- <td>=</td>
- <td class="attr-value">Hash.new { |h, k| h[k] = k.chr }</td>
- </tr>
-
- <tr valign='top'>
- <td>&nbsp;</td>
- <td colspan="2" class="attr-desc"><p>
-Unescape characters in strings.
-</p>
-</td>
- </tr>
-
-
- </table>
-
-
-
-
-
- <div class="sectiontitle">Class Public methods</div>
-
- <div class="method">
- <div class="title" id="method-c-new">
-
- <a name="method-c-new"></a><b>new</b>(source, opts = {})
-
- </div>
-
- <div class="description">
- <p>
-Creates a new <a href="Parser.html">JSON::Pure::Parser</a> instance for the
-string <em>source</em>.
-</p>
-<p>
-It will be configured by the <em>opts</em> hash. <em>opts</em> can have the
-following keys:
-</p>
-<ul>
-<li><p>
-<b>max_nesting</b>: The maximum depth of nesting allowed in the parsed data
-structures. Disable depth checking with :max_nesting => false|nil|0, it
-defaults to 19.
-</p>
-</li>
-<li><p>
-<b>allow_nan</b>: If set to true, allow NaN, Infinity and -Infinity in
-defiance of RFC 4627 to be parsed by the <a href="Parser.html">Parser</a>.
-This option defaults to false.
-</p>
-</li>
-<li><p>
-<b>symbolize_names</b>: If set to true, returns symbols for the names
-(keys) in a <a href="../../JSON.html">JSON</a> object. Otherwise strings
-are returned, which is also the default.
-</p>
-</li>
-<li><p>
-<b>create_additions</b>: If set to false, the <a
-href="Parser.html">Parser</a> doesn&#8217;t create additions even if a
-matchin class and create_id was found. This option defaults to true.
-</p>
-</li>
-<li><p>
-<b>object_class</b>: Defaults to Hash
-</p>
-</li>
-<li><p>
-<b>array_class</b>: Defaults to Array
-</p>
-</li>
-</ul>
-
- </div>
-
-
-
-
- <div class="sourcecode">
- <p class="source-link">
- Source: <a href="javascript:toggleSource('method-c-new_source')" id="l_method-c-new_source">show</a>
-
- </p>
- <div id="method-c-new_source" class="dyn-source">
- <pre> <span class="ruby-comment cmt"># File lib/json/pure/parser.rb, line 71</span>
- 71: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">source</span>, <span class="ruby-identifier">opts</span> = {})
- 72: <span class="ruby-keyword kw">if</span> <span class="ruby-keyword kw">defined?</span>(<span class="ruby-operator">::</span><span class="ruby-constant">Encoding</span>)
- 73: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">source</span>.<span class="ruby-identifier">encoding</span> <span class="ruby-operator">==</span> <span class="ruby-operator">::</span><span class="ruby-constant">Encoding</span><span class="ruby-operator">::</span><span class="ruby-constant">ASCII_8BIT</span>
- 74: <span class="ruby-identifier">b</span> = <span class="ruby-identifier">source</span>[<span class="ruby-value">0</span>, <span class="ruby-value">4</span>].<span class="ruby-identifier">bytes</span>.<span class="ruby-identifier">to_a</span>
- 75: <span class="ruby-identifier">source</span> = <span class="ruby-keyword kw">case</span>
- 76: <span class="ruby-keyword kw">when</span> <span class="ruby-identifier">b</span>.<span class="ruby-identifier">size</span> <span class="ruby-operator">&gt;=</span> <span class="ruby-value">4</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">b</span>[<span class="ruby-value">0</span>] <span class="ruby-operator">==</span> <span class="ruby-value">0</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">b</span>[<span class="ruby-value">1</span>] <span class="ruby-operator">==</span> <span class="ruby-value">0</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">b</span>[<span class="ruby-value">2</span>] <span class="ruby-operator">==</span> <span class="ruby-value">0</span>
- 77: <span class="ruby-identifier">source</span>.<span class="ruby-identifier">dup</span>.<span class="ruby-identifier">force_encoding</span>(<span class="ruby-operator">::</span><span class="ruby-constant">Encoding</span><span class="ruby-operator">::</span><span class="ruby-constant">UTF_32BE</span>).<span class="ruby-identifier">encode!</span>(<span class="ruby-operator">::</span><span class="ruby-constant">Encoding</span><span class="ruby-operator">::</span><span class="ruby-constant">UTF_8</span>)
- 78: <span class="ruby-keyword kw">when</span> <span class="ruby-identifier">b</span>.<span class="ruby-identifier">size</span> <span class="ruby-operator">&gt;=</span> <span class="ruby-value">4</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">b</span>[<span class="ruby-value">0</span>] <span class="ruby-operator">==</span> <span class="ruby-value">0</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">b</span>[<span class="ruby-value">2</span>] <span class="ruby-operator">==</span> <span class="ruby-value">0</span>
- 79: <span class="ruby-identifier">source</span>.<span class="ruby-identifier">dup</span>.<span class="ruby-identifier">force_encoding</span>(<span class="ruby-operator">::</span><span class="ruby-constant">Encoding</span><span class="ruby-operator">::</span><span class="ruby-constant">UTF_16BE</span>).<span class="ruby-identifier">encode!</span>(<span class="ruby-operator">::</span><span class="ruby-constant">Encoding</span><span class="ruby-operator">::</span><span class="ruby-constant">UTF_8</span>)
- 80: <span class="ruby-keyword kw">when</span> <span class="ruby-identifier">b</span>.<span class="ruby-identifier">size</span> <span class="ruby-operator">&gt;=</span> <span class="ruby-value">4</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">b</span>[<span class="ruby-value">1</span>] <span class="ruby-operator">==</span> <span class="ruby-value">0</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">b</span>[<span class="ruby-value">2</span>] <span class="ruby-operator">==</span> <span class="ruby-value">0</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">b</span>[<span class="ruby-value">3</span>] <span class="ruby-operator">==</span> <span class="ruby-value">0</span>
- 81: <span class="ruby-identifier">source</span>.<span class="ruby-identifier">dup</span>.<span class="ruby-identifier">force_encoding</span>(<span class="ruby-operator">::</span><span class="ruby-constant">Encoding</span><span class="ruby-operator">::</span><span class="ruby-constant">UTF_32LE</span>).<span class="ruby-identifier">encode!</span>(<span class="ruby-operator">::</span><span class="ruby-constant">Encoding</span><span class="ruby-operator">::</span><span class="ruby-constant">UTF_8</span>)
- 82:
- 83: <span class="ruby-keyword kw">when</span> <span class="ruby-identifier">b</span>.<span class="ruby-identifier">size</span> <span class="ruby-operator">&gt;=</span> <span class="ruby-value">4</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">b</span>[<span class="ruby-value">1</span>] <span class="ruby-operator">==</span> <span class="ruby-value">0</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">b</span>[<span class="ruby-value">3</span>] <span class="ruby-operator">==</span> <span class="ruby-value">0</span>
- 84: <span class="ruby-identifier">source</span>.<span class="ruby-identifier">dup</span>.<span class="ruby-identifier">force_encoding</span>(<span class="ruby-operator">::</span><span class="ruby-constant">Encoding</span><span class="ruby-operator">::</span><span class="ruby-constant">UTF_16LE</span>).<span class="ruby-identifier">encode!</span>(<span class="ruby-operator">::</span><span class="ruby-constant">Encoding</span><span class="ruby-operator">::</span><span class="ruby-constant">UTF_8</span>)
- 85: <span class="ruby-keyword kw">else</span>
- 86: <span class="ruby-identifier">source</span>.<span class="ruby-identifier">dup</span>
- 87: <span class="ruby-keyword kw">end</span>
- 88: <span class="ruby-keyword kw">else</span>
- 89: <span class="ruby-identifier">source</span> = <span class="ruby-identifier">source</span>.<span class="ruby-identifier">encode</span>(<span class="ruby-operator">::</span><span class="ruby-constant">Encoding</span><span class="ruby-operator">::</span><span class="ruby-constant">UTF_8</span>)
- 90: <span class="ruby-keyword kw">end</span>
- 91: <span class="ruby-identifier">source</span>.<span class="ruby-identifier">force_encoding</span>(<span class="ruby-operator">::</span><span class="ruby-constant">Encoding</span><span class="ruby-operator">::</span><span class="ruby-constant">ASCII_8BIT</span>)
- 92: <span class="ruby-keyword kw">else</span>
- 93: <span class="ruby-identifier">b</span> = <span class="ruby-identifier">source</span>
- 94: <span class="ruby-identifier">source</span> = <span class="ruby-keyword kw">case</span>
- 95: <span class="ruby-keyword kw">when</span> <span class="ruby-identifier">b</span>.<span class="ruby-identifier">size</span> <span class="ruby-operator">&gt;=</span> <span class="ruby-value">4</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">b</span>[<span class="ruby-value">0</span>] <span class="ruby-operator">==</span> <span class="ruby-value">0</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">b</span>[<span class="ruby-value">1</span>] <span class="ruby-operator">==</span> <span class="ruby-value">0</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">b</span>[<span class="ruby-value">2</span>] <span class="ruby-operator">==</span> <span class="ruby-value">0</span>
- 96: <span class="ruby-constant">JSON</span>.<span class="ruby-identifier">iconv</span>(<span class="ruby-value str">'utf-8'</span>, <span class="ruby-value str">'utf-32be'</span>, <span class="ruby-identifier">b</span>)
- 97: <span class="ruby-keyword kw">when</span> <span class="ruby-identifier">b</span>.<span class="ruby-identifier">size</span> <span class="ruby-operator">&gt;=</span> <span class="ruby-value">4</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">b</span>[<span class="ruby-value">0</span>] <span class="ruby-operator">==</span> <span class="ruby-value">0</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">b</span>[<span class="ruby-value">2</span>] <span class="ruby-operator">==</span> <span class="ruby-value">0</span>
- 98: <span class="ruby-constant">JSON</span>.<span class="ruby-identifier">iconv</span>(<span class="ruby-value str">'utf-8'</span>, <span class="ruby-value str">'utf-16be'</span>, <span class="ruby-identifier">b</span>)
- 99: <span class="ruby-keyword kw">when</span> <span class="ruby-identifier">b</span>.<span class="ruby-identifier">size</span> <span class="ruby-operator">&gt;=</span> <span class="ruby-value">4</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">b</span>[<span class="ruby-value">1</span>] <span class="ruby-operator">==</span> <span class="ruby-value">0</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">b</span>[<span class="ruby-value">2</span>] <span class="ruby-operator">==</span> <span class="ruby-value">0</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">b</span>[<span class="ruby-value">3</span>] <span class="ruby-operator">==</span> <span class="ruby-value">0</span>
-100: <span class="ruby-constant">JSON</span>.<span class="ruby-identifier">iconv</span>(<span class="ruby-value str">'utf-8'</span>, <span class="ruby-value str">'utf-32le'</span>, <span class="ruby-identifier">b</span>)
-101: <span class="ruby-keyword kw">when</span> <span class="ruby-identifier">b</span>.<span class="ruby-identifier">size</span> <span class="ruby-operator">&gt;=</span> <span class="ruby-value">4</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">b</span>[<span class="ruby-value">1</span>] <span class="ruby-operator">==</span> <span class="ruby-value">0</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">b</span>[<span class="ruby-value">3</span>] <span class="ruby-operator">==</span> <span class="ruby-value">0</span>
-102: <span class="ruby-constant">JSON</span>.<span class="ruby-identifier">iconv</span>(<span class="ruby-value str">'utf-8'</span>, <span class="ruby-value str">'utf-16le'</span>, <span class="ruby-identifier">b</span>)
-103: <span class="ruby-keyword kw">else</span>
-104: <span class="ruby-identifier">b</span>
-105: <span class="ruby-keyword kw">end</span>
-106: <span class="ruby-keyword kw">end</span>
-107: <span class="ruby-keyword kw">super</span> <span class="ruby-identifier">source</span>
-108: <span class="ruby-keyword kw">if</span> <span class="ruby-operator">!</span><span class="ruby-identifier">opts</span>.<span class="ruby-identifier">key?</span>(<span class="ruby-value">:max_nesting</span>) <span class="ruby-comment cmt"># defaults to 19</span>
-109: <span class="ruby-ivar">@max_nesting</span> = <span class="ruby-value">19</span>
-110: <span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">opts</span>[<span class="ruby-value">:max_nesting</span>]
-111: <span class="ruby-ivar">@max_nesting</span> = <span class="ruby-identifier">opts</span>[<span class="ruby-value">:max_nesting</span>]
-112: <span class="ruby-keyword kw">else</span>
-113: <span class="ruby-ivar">@max_nesting</span> = <span class="ruby-value">0</span>
-114: <span class="ruby-keyword kw">end</span>
-115: <span class="ruby-ivar">@allow_nan</span> = <span class="ruby-operator">!</span><span class="ruby-operator">!</span><span class="ruby-identifier">opts</span>[<span class="ruby-value">:allow_nan</span>]
-116: <span class="ruby-ivar">@symbolize_names</span> = <span class="ruby-operator">!</span><span class="ruby-operator">!</span><span class="ruby-identifier">opts</span>[<span class="ruby-value">:symbolize_names</span>]
-117: <span class="ruby-identifier">ca</span> = <span class="ruby-keyword kw">true</span>
-118: <span class="ruby-identifier">ca</span> = <span class="ruby-identifier">opts</span>[<span class="ruby-value">:create_additions</span>] <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">opts</span>.<span class="ruby-identifier">key?</span>(<span class="ruby-value">:create_additions</span>)
-119: <span class="ruby-ivar">@create_id</span> = <span class="ruby-identifier">ca</span> <span class="ruby-operator">?</span> <span class="ruby-constant">JSON</span>.<span class="ruby-identifier">create_id</span> <span class="ruby-operator">:</span> <span class="ruby-keyword kw">nil</span>
-120: <span class="ruby-ivar">@object_class</span> = <span class="ruby-identifier">opts</span>[<span class="ruby-value">:object_class</span>] <span class="ruby-operator">||</span> <span class="ruby-constant">Hash</span>
-121: <span class="ruby-ivar">@array_class</span> = <span class="ruby-identifier">opts</span>[<span class="ruby-value">:array_class</span>] <span class="ruby-operator">||</span> <span class="ruby-constant">Array</span>
-122: <span class="ruby-keyword kw">end</span></pre>
- </div>
- </div>
-
- </div>
-
- <div class="sectiontitle">Instance Public methods</div>
-
- <div class="method">
- <div class="title" id="method-i-parse">
-
- <a name="method-i-parse"></a><b>parse</b>()
-
- </div>
-
- <div class="description">
- <p>
-Parses the current <a href="../../JSON.html">JSON</a> string
-<em>source</em> and returns the complete data structure as a result.
-</p>
-
- </div>
-
-
-
-
- <div class="sourcecode">
- <p class="source-link">
- Source: <a href="javascript:toggleSource('method-i-parse_source')" id="l_method-i-parse_source">show</a>
-
- </p>
- <div id="method-i-parse_source" class="dyn-source">
- <pre> <span class="ruby-comment cmt"># File lib/json/pure/parser.rb, line 128</span>
-128: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">parse</span>
-129: <span class="ruby-identifier">reset</span>
-130: <span class="ruby-identifier">obj</span> = <span class="ruby-keyword kw">nil</span>
-131: <span class="ruby-keyword kw">until</span> <span class="ruby-identifier">eos?</span>
-132: <span class="ruby-keyword kw">case</span>
-133: <span class="ruby-keyword kw">when</span> <span class="ruby-identifier">scan</span>(<span class="ruby-constant">OBJECT_OPEN</span>)
-134: <span class="ruby-identifier">obj</span> <span class="ruby-keyword kw">and</span> <span class="ruby-identifier">raise</span> <span class="ruby-constant">ParserError</span>, <span class="ruby-node">&quot;source '#{peek(20)}' not in JSON!&quot;</span>
-135: <span class="ruby-ivar">@current_nesting</span> = <span class="ruby-value">1</span>
-136: <span class="ruby-identifier">obj</span> = <span class="ruby-identifier">parse_object</span>
-137: <span class="ruby-keyword kw">when</span> <span class="ruby-identifier">scan</span>(<span class="ruby-constant">ARRAY_OPEN</span>)
-138: <span class="ruby-identifier">obj</span> <span class="ruby-keyword kw">and</span> <span class="ruby-identifier">raise</span> <span class="ruby-constant">ParserError</span>, <span class="ruby-node">&quot;source '#{peek(20)}' not in JSON!&quot;</span>
-139: <span class="ruby-ivar">@current_nesting</span> = <span class="ruby-value">1</span>
-140: <span class="ruby-identifier">obj</span> = <span class="ruby-identifier">parse_array</span>
-141: <span class="ruby-keyword kw">when</span> <span class="ruby-identifier">skip</span>(<span class="ruby-constant">IGNORE</span>)
-142: ;
-143: <span class="ruby-keyword kw">else</span>
-144: <span class="ruby-identifier">raise</span> <span class="ruby-constant">ParserError</span>, <span class="ruby-node">&quot;source '#{peek(20)}' not in JSON!&quot;</span>
-145: <span class="ruby-keyword kw">end</span>
-146: <span class="ruby-keyword kw">end</span>
-147: <span class="ruby-identifier">obj</span> <span class="ruby-keyword kw">or</span> <span class="ruby-identifier">raise</span> <span class="ruby-constant">ParserError</span>, <span class="ruby-value str">&quot;source did not contain any JSON!&quot;</span>
-148: <span class="ruby-identifier">obj</span>
-149: <span class="ruby-keyword kw">end</span></pre>
- </div>
- </div>
-
- </div>
-
-</div>
- </div>
- </body>
-</html> \ No newline at end of file