Commits

John Marsden committed 2f496ae

Change the Endings

Comments (0)

Files changed (97)

-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
-	<classpathentry kind="src" output="target/classes" path="src/main/java"/>
-	<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"/>
-	<classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
-	<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources"/>
-	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
-	<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"/>
-	<classpathentry kind="output" path="target/classes"/>
-</classpath>
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+	<classpathentry kind="src" output="target/classes" path="src/main/java"/>
+	<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"/>
+	<classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
+	<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources"/>
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
+	<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"/>
+	<classpathentry kind="output" path="target/classes"/>
+</classpath>
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
-	<name>jsonij</name>
-	<comment></comment>
-	<projects>
-	</projects>
-	<buildSpec>
-		<buildCommand>
-			<name>org.eclipse.jdt.core.javabuilder</name>
-			<arguments>
-			</arguments>
-		</buildCommand>
-		<buildCommand>
-			<name>org.eclipse.m2e.core.maven2Builder</name>
-			<arguments>
-			</arguments>
-		</buildCommand>
-	</buildSpec>
-	<natures>
-		<nature>org.eclipse.jdt.core.javanature</nature>
-		<nature>org.eclipse.m2e.core.maven2Nature</nature>
-	</natures>
-</projectDescription>
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>jsonij</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.eclipse.jdt.core.javabuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.m2e.core.maven2Builder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.eclipse.jdt.core.javanature</nature>
+		<nature>org.eclipse.m2e.core.maven2Nature</nature>
+	</natures>
+</projectDescription>

.settings/org.eclipse.core.resources.prefs

-#Fri Nov 18 16:43:01 CST 2011
-eclipse.preferences.version=1
-encoding//src/main/java=UTF-8
-encoding//src/main/resources=UTF-8
-encoding//src/test/java=UTF-8
-encoding//src/test/resources=UTF-8
-encoding/<project>=UTF-8
+#Fri Nov 18 16:43:01 CST 2011
+eclipse.preferences.version=1
+encoding//src/main/java=UTF-8
+encoding//src/main/resources=UTF-8
+encoding//src/test/java=UTF-8
+encoding//src/test/resources=UTF-8
+encoding/<project>=UTF-8

.settings/org.eclipse.jdt.core.prefs

-#Sun Nov 13 16:56:32 CST 2011
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
-org.eclipse.jdt.core.compiler.compliance=1.5
-org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
-org.eclipse.jdt.core.compiler.source=1.5
+#Sun Nov 13 16:56:32 CST 2011
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
+org.eclipse.jdt.core.compiler.source=1.5

.settings/org.eclipse.m2e.core.prefs

-#Sun Nov 13 16:56:13 CST 2011
-activeProfiles=
-eclipse.preferences.version=1
-resolveWorkspaceProjects=true
-version=1
+#Sun Nov 13 16:56:13 CST 2011
+activeProfiles=
+eclipse.preferences.version=1
+resolveWorkspaceProjects=true
+version=1
-                                 Apache License
-                           Version 2.0, January 2004
-                        http://www.apache.org/licenses/
-
-   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
-   1. Definitions.
-
-      "License" shall mean the terms and conditions for use, reproduction,
-      and distribution as defined by Sections 1 through 9 of this document.
-
-      "Licensor" shall mean the copyright owner or entity authorized by
-      the copyright owner that is granting the License.
-
-      "Legal Entity" shall mean the union of the acting entity and all
-      other entities that control, are controlled by, or are under common
-      control with that entity. For the purposes of this definition,
-      "control" means (i) the power, direct or indirect, to cause the
-      direction or management of such entity, whether by contract or
-      otherwise, or (ii) ownership of fifty percent (50%) or more of the
-      outstanding shares, or (iii) beneficial ownership of such entity.
-
-      "You" (or "Your") shall mean an individual or Legal Entity
-      exercising permissions granted by this License.
-
-      "Source" form shall mean the preferred form for making modifications,
-      including but not limited to software source code, documentation
-      source, and configuration files.
-
-      "Object" form shall mean any form resulting from mechanical
-      transformation or translation of a Source form, including but
-      not limited to compiled object code, generated documentation,
-      and conversions to other media types.
-
-      "Work" shall mean the work of authorship, whether in Source or
-      Object form, made available under the License, as indicated by a
-      copyright notice that is included in or attached to the work
-      (an example is provided in the Appendix below).
-
-      "Derivative Works" shall mean any work, whether in Source or Object
-      form, that is based on (or derived from) the Work and for which the
-      editorial revisions, annotations, elaborations, or other modifications
-      represent, as a whole, an original work of authorship. For the purposes
-      of this License, Derivative Works shall not include works that remain
-      separable from, or merely link (or bind by name) to the interfaces of,
-      the Work and Derivative Works thereof.
-
-      "Contribution" shall mean any work of authorship, including
-      the original version of the Work and any modifications or additions
-      to that Work or Derivative Works thereof, that is intentionally
-      submitted to Licensor for inclusion in the Work by the copyright owner
-      or by an individual or Legal Entity authorized to submit on behalf of
-      the copyright owner. For the purposes of this definition, "submitted"
-      means any form of electronic, verbal, or written communication sent
-      to the Licensor or its representatives, including but not limited to
-      communication on electronic mailing lists, source code control systems,
-      and issue tracking systems that are managed by, or on behalf of, the
-      Licensor for the purpose of discussing and improving the Work, but
-      excluding communication that is conspicuously marked or otherwise
-      designated in writing by the copyright owner as "Not a Contribution."
-
-      "Contributor" shall mean Licensor and any individual or Legal Entity
-      on behalf of whom a Contribution has been received by Licensor and
-      subsequently incorporated within the Work.
-
-   2. Grant of Copyright License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      copyright license to reproduce, prepare Derivative Works of,
-      publicly display, publicly perform, sublicense, and distribute the
-      Work and such Derivative Works in Source or Object form.
-
-   3. Grant of Patent License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      (except as stated in this section) patent license to make, have made,
-      use, offer to sell, sell, import, and otherwise transfer the Work,
-      where such license applies only to those patent claims licensable
-      by such Contributor that are necessarily infringed by their
-      Contribution(s) alone or by combination of their Contribution(s)
-      with the Work to which such Contribution(s) was submitted. If You
-      institute patent litigation against any entity (including a
-      cross-claim or counterclaim in a lawsuit) alleging that the Work
-      or a Contribution incorporated within the Work constitutes direct
-      or contributory patent infringement, then any patent licenses
-      granted to You under this License for that Work shall terminate
-      as of the date such litigation is filed.
-
-   4. Redistribution. You may reproduce and distribute copies of the
-      Work or Derivative Works thereof in any medium, with or without
-      modifications, and in Source or Object form, provided that You
-      meet the following conditions:
-
-      (a) You must give any other recipients of the Work or
-          Derivative Works a copy of this License; and
-
-      (b) You must cause any modified files to carry prominent notices
-          stating that You changed the files; and
-
-      (c) You must retain, in the Source form of any Derivative Works
-          that You distribute, all copyright, patent, trademark, and
-          attribution notices from the Source form of the Work,
-          excluding those notices that do not pertain to any part of
-          the Derivative Works; and
-
-      (d) If the Work includes a "NOTICE" text file as part of its
-          distribution, then any Derivative Works that You distribute must
-          include a readable copy of the attribution notices contained
-          within such NOTICE file, excluding those notices that do not
-          pertain to any part of the Derivative Works, in at least one
-          of the following places: within a NOTICE text file distributed
-          as part of the Derivative Works; within the Source form or
-          documentation, if provided along with the Derivative Works; or,
-          within a display generated by the Derivative Works, if and
-          wherever such third-party notices normally appear. The contents
-          of the NOTICE file are for informational purposes only and
-          do not modify the License. You may add Your own attribution
-          notices within Derivative Works that You distribute, alongside
-          or as an addendum to the NOTICE text from the Work, provided
-          that such additional attribution notices cannot be construed
-          as modifying the License.
-
-      You may add Your own copyright statement to Your modifications and
-      may provide additional or different license terms and conditions
-      for use, reproduction, or distribution of Your modifications, or
-      for any such Derivative Works as a whole, provided Your use,
-      reproduction, and distribution of the Work otherwise complies with
-      the conditions stated in this License.
-
-   5. Submission of Contributions. Unless You explicitly state otherwise,
-      any Contribution intentionally submitted for inclusion in the Work
-      by You to the Licensor shall be under the terms and conditions of
-      this License, without any additional terms or conditions.
-      Notwithstanding the above, nothing herein shall supersede or modify
-      the terms of any separate license agreement you may have executed
-      with Licensor regarding such Contributions.
-
-   6. Trademarks. This License does not grant permission to use the trade
-      names, trademarks, service marks, or product names of the Licensor,
-      except as required for reasonable and customary use in describing the
-      origin of the Work and reproducing the content of the NOTICE file.
-
-   7. Disclaimer of Warranty. Unless required by applicable law or
-      agreed to in writing, Licensor provides the Work (and each
-      Contributor provides its Contributions) on an "AS IS" BASIS,
-      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-      implied, including, without limitation, any warranties or conditions
-      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
-      PARTICULAR PURPOSE. You are solely responsible for determining the
-      appropriateness of using or redistributing the Work and assume any
-      risks associated with Your exercise of permissions under this License.
-
-   8. Limitation of Liability. In no event and under no legal theory,
-      whether in tort (including negligence), contract, or otherwise,
-      unless required by applicable law (such as deliberate and grossly
-      negligent acts) or agreed to in writing, shall any Contributor be
-      liable to You for damages, including any direct, indirect, special,
-      incidental, or consequential damages of any character arising as a
-      result of this License or out of the use or inability to use the
-      Work (including but not limited to damages for loss of goodwill,
-      work stoppage, computer failure or malfunction, or any and all
-      other commercial damages or losses), even if such Contributor
-      has been advised of the possibility of such damages.
-
-   9. Accepting Warranty or Additional Liability. While redistributing
-      the Work or Derivative Works thereof, You may choose to offer,
-      and charge a fee for, acceptance of support, warranty, indemnity,
-      or other liability obligations and/or rights consistent with this
-      License. However, in accepting such obligations, You may act only
-      on Your own behalf and on Your sole responsibility, not on behalf
-      of any other Contributor, and only if You agree to indemnify,
-      defend, and hold each Contributor harmless for any liability
-      incurred by, or claims asserted against, such Contributor by reason
-      of your accepting any such warranty or additional liability.
-
-   END OF TERMS AND CONDITIONS
-
-   APPENDIX: How to apply the Apache License to your work.
-
-      To apply the Apache License to your work, attach the following
-      boilerplate notice, with the fields enclosed by brackets "[]"
-      replaced with your own identifying information. (Don't include
-      the brackets!)  The text should be enclosed in the appropriate
-      comment syntax for the file format. We also recommend that a
-      file or class name and description of purpose be included on the
-      same "printed page" as the copyright notice for easier
-      identification within third-party archives.
-
-   Copyright [yyyy] [name of copyright owner]
-
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-   You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "[]"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright [yyyy] [name of copyright owner]
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
-
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-    <modelVersion>4.0.0</modelVersion>
-    <groupId>cc.plural</groupId>
-    <artifactId>jsonij</artifactId>
-    <packaging>jar</packaging>
-    <version>0.2.12-SNAPSHOT</version>
-    <name>JSONiJ</name>
-    <url>http://jsonij.plural.cc</url>
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-compiler-plugin</artifactId>
-                <version>2.0.2</version>
-                <configuration>
-                    <source>1.5</source>
-                    <target>1.5</target>
-                    <encoding>${project.build.sourceEncoding}</encoding>
-                </configuration>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-resources-plugin</artifactId>
-                <version>2.4</version>
-                <configuration>
-                    <encoding>${project.build.sourceEncoding}</encoding>
-                </configuration>
-            </plugin>
-            <!-- Publish also javadocs when releasing - required by Sonatype -->
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-javadoc-plugin</artifactId>
-                <version>2.8</version>
-                <executions>
-                    <execution>
-                        <id>attach-javadocs</id>
-                        <goals>
-                            <goal>jar</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
-        </plugins>
-    </build>
-    <scm>
-        <connection>scm:git:git@bitbucket.org:jmarsden/jsonij.git</connection>
-        <developerConnection>scm:git:git@bitbucket.org:jmarsden/jsonij.git</developerConnection>
-        <url>git@bitbucket.org:jmarsden/jsonij.git</url>
-    </scm>
-    <developers>
-        <developer>
-            <id>jmarsden</id>
-            <name>John W. Marsden</name>
-            <email>jmarsden@plural.cc</email>
-            <timezone>GMT+9.5</timezone>
-            <roles>
-            </roles>
-        </developer>
-    </developers>
-    <dependencies>
-        <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-            <version>4.8.1</version>
-            <scope>test</scope>
-        </dependency>
-    </dependencies>
-    <reporting>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-checkstyle-plugin</artifactId>
-                <version>2.6</version>
-                <configuration>
-                    <configLocation>config/sun_checks.xml</configLocation>
-                </configuration>
-            </plugin>
-        </plugins>
-    </reporting>
-    <properties>
-        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-    </properties>
-    <distributionManagement>
-            <!-- My project's Sonatype repository to be used by the release plugin -->
-        <repository>
-            <id>sonatype-nexus-staging</id>
-            <name>Nexus Release Repository</name>
-            <url>http://oss.sonatype.org/service/local/staging/deploy/maven2</url>
-        </repository>
-        <snapshotRepository>
-            <id>sonatype-nexus-snapshots</id>
-            <name>My Nexus Snapshots Repository</name>
-            <url>https://oss.sonatype.org/content/repositories/snapshots</url>
-        </snapshotRepository>
-    </distributionManagement>
-    <licenses>
-        <license>
-            <name>Apache 2</name>
-            <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
-            <distribution>repo</distribution>
-            <comments>All files under Apache 2</comments>
-        </license>
-    </licenses>
-    <description>JSONiJ - The simple and kickarse JSON implementation for Java. See http://jsonij.plural.cc for more information.
-    </description>
-    <profiles>
-        <profile>
-            <id>release-sign-artifacts</id>
-            <activation>
-                <property>
-                    <!--
-                    will be set by the release plugin upon performing mvn
-                    release:perform
-                    -->
-                    <name>performRelease</name>
-                    <value>true</value>
-                </property>
-            </activation>
-            <properties>
-                <gpg.keyname>9D24FFEE</gpg.keyname>	<!-- GPG Key ID to use for signing -->
-            </properties>
-            <build>
-                <plugins>
-                    <!--
-                    Enable signing of the artifacts For gpg:sign-and-deploy-file it's
-                    necessary to have a <server> with the repositoryId provided or
-                    id="remote-repository" defined in settings.xml (it contains the
-                    repository's login, psw) Signing: mvn gpg:sign-and-deploy-file
-                    -DpomFile=target/myapp-1.0.pom -Dfile=target/myapp-1.0.jar
-                    -Durl=http://oss.sonatype.org/content/repositories/malyvelky/
-                    -DrepositoryId=sonatype_oss Note normally it uses the defaul key
-                    but we can ovveride it by either setting the property gpg.keyname
-                    (done in this POM) or by providing -Dkeyname=66AE163A on the
-                    command line. OR directly w/ gpg (remove space in - -): gpg -u 66AE163A - -sign -
-                    -detach-sign -a target/dbunit-embeddedderby-parenttest.jar Note:
-                    "mvn gpg:sign" results in NPE with v 1.o-a.-4, use "mvn package
-                    gpg:sign" instead; see the issue MGPG-18
-                    -->
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-gpg-plugin</artifactId>
-                        <version>1.0-alpha-4</version>
-                        <executions>
-                            <execution>
-                                <id>sign-artifacts</id>
-                                <phase>verify</phase>
-                                <goals>
-                                    <goal>sign</goal>
-                                </goals>
-                            </execution>
-                        </executions>
-                    </plugin>
-                    <!-- Publish also javadocs when releasing - required by Sonatype -->
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-javadoc-plugin</artifactId>
-                        <executions>
-                            <execution>
-                                <id>attach-javadocs</id>
-                                <goals>
-                                    <goal>jar</goal>
-                                </goals>
-                            </execution>
-                        </executions>
-                    </plugin>
-                    <!--
-                    Release Plugin (Update version in POM before/after release, create
-                    tag, deploy) to try: mvn release:prepare -DdryRun=true && mvn
-                    release:clean to perform:
-
-                    mvn release:prepare release:perform
-
-                    Read http://nexus.sonatype.org/oss-repository-hosting.html#3 for
-                    instructions on releasing to this project's Sonatype repository
-                    -->
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-release-plugin</artifactId>
-                        <version>2.0-beta-7</version>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-        <profile>
-            <id>include-sources</id>
-            <build>
-                <resources>
-                    <resource>
-                        <targetPath>/</targetPath>
-                        <filtering>true</filtering>
-                        <directory>src/main/java</directory>
-                        <includes>
-                            <include>**/*.java</include>
-                        </includes>
-                    </resource>
-                </resources>
-            </build>
-        </profile>
-    </profiles>
-</project>
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+    <groupId>cc.plural</groupId>
+    <artifactId>jsonij</artifactId>
+    <packaging>jar</packaging>
+    <version>0.2.12-SNAPSHOT</version>
+    <name>JSONiJ</name>
+    <url>http://jsonij.plural.cc</url>
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <version>2.0.2</version>
+                <configuration>
+                    <source>1.5</source>
+                    <target>1.5</target>
+                    <encoding>${project.build.sourceEncoding}</encoding>
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-resources-plugin</artifactId>
+                <version>2.4</version>
+                <configuration>
+                    <encoding>${project.build.sourceEncoding}</encoding>
+                </configuration>
+            </plugin>
+            <!-- Publish also javadocs when releasing - required by Sonatype -->
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-javadoc-plugin</artifactId>
+                <version>2.8</version>
+                <executions>
+                    <execution>
+                        <id>attach-javadocs</id>
+                        <goals>
+                            <goal>jar</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+    <scm>
+        <connection>scm:git:git@bitbucket.org:jmarsden/jsonij.git</connection>
+        <developerConnection>scm:git:git@bitbucket.org:jmarsden/jsonij.git</developerConnection>
+        <url>git@bitbucket.org:jmarsden/jsonij.git</url>
+    </scm>
+    <developers>
+        <developer>
+            <id>jmarsden</id>
+            <name>John W. Marsden</name>
+            <email>jmarsden@plural.cc</email>
+            <timezone>GMT+9.5</timezone>
+            <roles>
+            </roles>
+        </developer>
+    </developers>
+    <dependencies>
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <version>4.8.1</version>
+            <scope>test</scope>
+        </dependency>
+    </dependencies>
+    <reporting>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-checkstyle-plugin</artifactId>
+                <version>2.6</version>
+                <configuration>
+                    <configLocation>config/sun_checks.xml</configLocation>
+                </configuration>
+            </plugin>
+        </plugins>
+    </reporting>
+    <properties>
+        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+    </properties>
+    <distributionManagement>
+            <!-- My project's Sonatype repository to be used by the release plugin -->
+        <repository>
+            <id>sonatype-nexus-staging</id>
+            <name>Nexus Release Repository</name>
+            <url>http://oss.sonatype.org/service/local/staging/deploy/maven2</url>
+        </repository>
+        <snapshotRepository>
+            <id>sonatype-nexus-snapshots</id>
+            <name>My Nexus Snapshots Repository</name>
+            <url>https://oss.sonatype.org/content/repositories/snapshots</url>
+        </snapshotRepository>
+    </distributionManagement>
+    <licenses>
+        <license>
+            <name>Apache 2</name>
+            <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+            <distribution>repo</distribution>
+            <comments>All files under Apache 2</comments>
+        </license>
+    </licenses>
+    <description>JSONiJ - The simple and kickarse JSON implementation for Java. See http://jsonij.plural.cc for more information.
+    </description>
+    <profiles>
+        <profile>
+            <id>release-sign-artifacts</id>
+            <activation>
+                <property>
+                    <!--
+                    will be set by the release plugin upon performing mvn
+                    release:perform
+                    -->
+                    <name>performRelease</name>
+                    <value>true</value>
+                </property>
+            </activation>
+            <properties>
+                <gpg.keyname>9D24FFEE</gpg.keyname>	<!-- GPG Key ID to use for signing -->
+            </properties>
+            <build>
+                <plugins>
+                    <!--
+                    Enable signing of the artifacts For gpg:sign-and-deploy-file it's
+                    necessary to have a <server> with the repositoryId provided or
+                    id="remote-repository" defined in settings.xml (it contains the
+                    repository's login, psw) Signing: mvn gpg:sign-and-deploy-file
+                    -DpomFile=target/myapp-1.0.pom -Dfile=target/myapp-1.0.jar
+                    -Durl=http://oss.sonatype.org/content/repositories/malyvelky/
+                    -DrepositoryId=sonatype_oss Note normally it uses the defaul key
+                    but we can ovveride it by either setting the property gpg.keyname
+                    (done in this POM) or by providing -Dkeyname=66AE163A on the
+                    command line. OR directly w/ gpg (remove space in - -): gpg -u 66AE163A - -sign -
+                    -detach-sign -a target/dbunit-embeddedderby-parenttest.jar Note:
+                    "mvn gpg:sign" results in NPE with v 1.o-a.-4, use "mvn package
+                    gpg:sign" instead; see the issue MGPG-18
+                    -->
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-gpg-plugin</artifactId>
+                        <version>1.0-alpha-4</version>
+                        <executions>
+                            <execution>
+                                <id>sign-artifacts</id>
+                                <phase>verify</phase>
+                                <goals>
+                                    <goal>sign</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                    </plugin>
+                    <!-- Publish also javadocs when releasing - required by Sonatype -->
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-javadoc-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <id>attach-javadocs</id>
+                                <goals>
+                                    <goal>jar</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                    </plugin>
+                    <!--
+                    Release Plugin (Update version in POM before/after release, create
+                    tag, deploy) to try: mvn release:prepare -DdryRun=true && mvn
+                    release:clean to perform:
+
+                    mvn release:prepare release:perform
+
+                    Read http://nexus.sonatype.org/oss-repository-hosting.html#3 for
+                    instructions on releasing to this project's Sonatype repository
+                    -->
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-release-plugin</artifactId>
+                        <version>2.0-beta-7</version>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+        <profile>
+            <id>include-sources</id>
+            <build>
+                <resources>
+                    <resource>
+                        <targetPath>/</targetPath>
+                        <filtering>true</filtering>
+                        <directory>src/main/java</directory>
+                        <includes>
+                            <include>**/*.java</include>
+                        </includes>
+                    </resource>
+                </resources>
+            </build>
+        </profile>
+    </profiles>
+</project>

src/main/java/cc/plural/jsonij/ArrayImp.java

-/**
- * Copyright (C) 2010-2011 J.W.Marsden
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- **/
-package cc.plural.jsonij;
-
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.Iterator;
-import java.util.List;
-import java.util.ListIterator;
-
-/**
- * JSON Array Implementation.
- * @author J.W.Marsden
- * @version 1.0.0
- */
-public class ArrayImp<E extends Value> extends Value implements java.util.List<E> {
-
-    /**
-	 * Generated Serial UID
-	 */
-	private static final long serialVersionUID = -8216125868251081773L;
-	/**
-	 * Array Contents Holder
-	 */
-	protected List<E> arrayValue;
-
-    public ArrayImp() {
-        arrayValue = new ArrayList<E>();
-    }
-
-    /* (non-Javadoc)
-     * @see com.realitypipe.json.Value#internalType()
-     */
-    @Override
-    protected TYPE internalType() {
-        return TYPE.ARRAY;
-    }
-
-    /* (non-Javadoc)
-     * @see java.util.List#add(java.lang.Object)
-     */
-    public boolean add(E e) {
-        return arrayValue.add(e);
-    }
-
-    /* (non-Javadoc)
-     * @see java.util.List#add(int, java.lang.Object)
-     */
-    public void add(int index, E element) {
-        arrayValue.add(index, element);
-    }
-
-    /* (non-Javadoc)
-     * @see java.util.List#addAll(java.util.Collection)
-     */
-    public boolean addAll(Collection<? extends E> c) {
-        return arrayValue.addAll(c);
-    }
-
-    /* (non-Javadoc)
-     * @see java.util.List#addAll(int, java.util.Collection)
-     */
-    public boolean addAll(int index, Collection<? extends E> c) {
-        return arrayValue.addAll(index, c);
-    }
-
-    /* (non-Javadoc)
-     * @see java.util.List#clear()
-     */
-    public void clear() {
-        arrayValue.clear();
-    }
-
-    /* (non-Javadoc)
-     * @see java.util.List#contains(java.lang.Object)
-     */
-    public boolean contains(Object o) {
-        return arrayValue.contains(o);
-    }
-
-    /* (non-Javadoc)
-     * @see java.util.List#containsAll(java.util.Collection)
-     */
-    public boolean containsAll(Collection<?> c) {
-        return arrayValue.containsAll(c);
-    }
-
-    /* (non-Javadoc)
-     * @see java.util.List#get(int)
-     */
-    public E get(int index) {
-        return arrayValue.get(index);
-    }
-
-    /* (non-Javadoc)
-     * @see java.util.List#indexOf(java.lang.Object)
-     */
-    public int indexOf(Object o) {
-        return arrayValue.indexOf(o);
-    }
-
-    /* (non-Javadoc)
-     * @see java.util.List#isEmpty()
-     */
-    public boolean isEmpty() {
-        return arrayValue.isEmpty();
-    }
-
-    /* (non-Javadoc)
-     * @see java.util.List#iterator()
-     */
-    public Iterator<E> iterator() {
-        return arrayValue.iterator();
-    }
-
-    /* (non-Javadoc)
-     * @see java.util.List#lastIndexOf(java.lang.Object)
-     */
-    public int lastIndexOf(Object o) {
-        return arrayValue.lastIndexOf(o);
-    }
-
-    /* (non-Javadoc)
-     * @see java.util.List#listIterator()
-     */
-    public ListIterator<E> listIterator() {
-        return arrayValue.listIterator();
-    }
-
-    /* (non-Javadoc)
-     * @see java.util.List#listIterator(int)
-     */
-    public ListIterator<E> listIterator(int index) {
-        return arrayValue.listIterator();
-    }
-
-    /* (non-Javadoc)
-     * @see java.util.List#remove(java.lang.Object)
-     */
-    public boolean remove(Object o) {
-        return arrayValue.remove(o);
-    }
-
-    /* (non-Javadoc)
-     * @see java.util.List#remove(int)
-     */
-    public E remove(int index) {
-        return arrayValue.get(index);
-    }
-
-    /* (non-Javadoc)
-     * @see java.util.List#removeAll(java.util.Collection)
-     */
-    public boolean removeAll(Collection<?> c) {
-        return arrayValue.removeAll(c);
-    }
-
-    /* (non-Javadoc)
-     * @see java.util.List#retainAll(java.util.Collection)
-     */
-    public boolean retainAll(Collection<?> c) {
-        return arrayValue.retainAll(c);
-    }
-
-    /* (non-Javadoc)
-     * @see java.util.List#set(int, java.lang.Object)
-     */
-    public E set(int index, E element) {
-        return arrayValue.set(index, element);
-    }
-
-    /* (non-Javadoc)
-     * @see java.util.List#size()
-     */
-    public int size() {
-        return arrayValue.size();
-    }
-
-    /* (non-Javadoc)
-     * @see java.util.List#subList(int, int)
-     */
-    public List<E> subList(int fromIndex, int toIndex) {
-        return arrayValue.subList(fromIndex, toIndex);
-    }
-
-    /* (non-Javadoc)
-     * @see java.util.List#toArray()
-     */
-    public Object[] toArray() {
-        return arrayValue.toArray();
-    }
-
-    /* (non-Javadoc)
-     * @see java.util.List#toArray(T[])
-     */
-    public <T> T[] toArray(T[] a) {
-        return arrayValue.toArray(a);
-    }
-
-    /* (non-Javadoc)
-     * @see cc.plural.json.Value#nestedSize()
-     */
-    @Override
-    public int nestedSize() {
-        int c = 0;
-        for (E e : this) {
-            c += e.nestedSize();
-        }
-        return size() + c;
-    }
-
-    /* (non-Javadoc)
-     * @see cc.plural.json.Value#toJSON()
-     */
-    @Override
-    public String toJSON() {
-        Iterator<E> valueIterator = iterator();
-        if(valueIterator.hasNext()) {
-            StringBuilder jsonStringBuilder = new StringBuilder();
-            jsonStringBuilder.append('[');
-            Value value = valueIterator.next();
-            jsonStringBuilder.append(value.toJSON());
-            while(valueIterator.hasNext()) {
-                value = valueIterator.next();
-                jsonStringBuilder.append(',').append(value.toJSON());
-            }
-            jsonStringBuilder.append(']');
-            return jsonStringBuilder.toString();
-        } else {
-            return "[]";
-        }
-    }
-}
+/**
+ * Copyright (C) 2010-2011 J.W.Marsden
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ **/
+package cc.plural.jsonij;
+
+import java.util.ArrayList;
+import java.util.Collection;
+import java.util.Iterator;
+import java.util.List;
+import java.util.ListIterator;
+
+/**
+ * JSON Array Implementation.
+ * @author J.W.Marsden
+ * @version 1.0.0
+ */
+public class ArrayImp<E extends Value> extends Value implements java.util.List<E> {
+
+    /**
+	 * Generated Serial UID
+	 */
+	private static final long serialVersionUID = -8216125868251081773L;
+	/**
+	 * Array Contents Holder
+	 */
+	protected List<E> arrayValue;
+
+    public ArrayImp() {
+        arrayValue = new ArrayList<E>();
+    }
+
+    /* (non-Javadoc)
+     * @see com.realitypipe.json.Value#internalType()
+     */
+    @Override
+    protected TYPE internalType() {
+        return TYPE.ARRAY;
+    }
+
+    /* (non-Javadoc)
+     * @see java.util.List#add(java.lang.Object)
+     */
+    public boolean add(E e) {
+        return arrayValue.add(e);
+    }
+
+    /* (non-Javadoc)
+     * @see java.util.List#add(int, java.lang.Object)
+     */
+    public void add(int index, E element) {
+        arrayValue.add(index, element);
+    }
+
+    /* (non-Javadoc)
+     * @see java.util.List#addAll(java.util.Collection)
+     */
+    public boolean addAll(Collection<? extends E> c) {
+        return arrayValue.addAll(c);
+    }
+
+    /* (non-Javadoc)
+     * @see java.util.List#addAll(int, java.util.Collection)
+     */
+    public boolean addAll(int index, Collection<? extends E> c) {
+        return arrayValue.addAll(index, c);
+    }
+
+    /* (non-Javadoc)
+     * @see java.util.List#clear()
+     */
+    public void clear() {
+        arrayValue.clear();
+    }
+
+    /* (non-Javadoc)
+     * @see java.util.List#contains(java.lang.Object)
+     */
+    public boolean contains(Object o) {
+        return arrayValue.contains(o);
+    }
+
+    /* (non-Javadoc)
+     * @see java.util.List#containsAll(java.util.Collection)
+     */
+    public boolean containsAll(Collection<?> c) {
+        return arrayValue.containsAll(c);
+    }
+
+    /* (non-Javadoc)
+     * @see java.util.List#get(int)
+     */
+    public E get(int index) {
+        return arrayValue.get(index);
+    }
+
+    /* (non-Javadoc)
+     * @see java.util.List#indexOf(java.lang.Object)
+     */
+    public int indexOf(Object o) {
+        return arrayValue.indexOf(o);
+    }
+
+    /* (non-Javadoc)
+     * @see java.util.List#isEmpty()
+     */
+    public boolean isEmpty() {
+        return arrayValue.isEmpty();
+    }
+
+    /* (non-Javadoc)
+     * @see java.util.List#iterator()
+     */
+    public Iterator<E> iterator() {
+        return arrayValue.iterator();
+    }
+
+    /* (non-Javadoc)
+     * @see java.util.List#lastIndexOf(java.lang.Object)
+     */
+    public int lastIndexOf(Object o) {
+        return arrayValue.lastIndexOf(o);
+    }
+
+    /* (non-Javadoc)
+     * @see java.util.List#listIterator()
+     */
+    public ListIterator<E> listIterator() {
+        return arrayValue.listIterator();
+    }
+
+    /* (non-Javadoc)
+     * @see java.util.List#listIterator(int)
+     */
+    public ListIterator<E> listIterator(int index) {
+        return arrayValue.listIterator();
+    }
+
+    /* (non-Javadoc)
+     * @see java.util.List#remove(java.lang.Object)
+     */
+    public boolean remove(Object o) {
+        return arrayValue.remove(o);
+    }
+
+    /* (non-Javadoc)
+     * @see java.util.List#remove(int)
+     */
+    public E remove(int index) {
+        return arrayValue.get(index);
+    }
+
+    /* (non-Javadoc)
+     * @see java.util.List#removeAll(java.util.Collection)
+     */
+    public boolean removeAll(Collection<?> c) {
+        return arrayValue.removeAll(c);
+    }
+
+    /* (non-Javadoc)
+     * @see java.util.List#retainAll(java.util.Collection)
+     */
+    public boolean retainAll(Collection<?> c) {
+        return arrayValue.retainAll(c);
+    }
+
+    /* (non-Javadoc)
+     * @see java.util.List#set(int, java.lang.Object)
+     */
+    public E set(int index, E element) {
+        return arrayValue.set(index, element);
+    }
+
+    /* (non-Javadoc)
+     * @see java.util.List#size()
+     */
+    public int size() {
+        return arrayValue.size();
+    }
+
+    /* (non-Javadoc)
+     * @see java.util.List#subList(int, int)
+     */
+    public List<E> subList(int fromIndex, int toIndex) {
+        return arrayValue.subList(fromIndex, toIndex);
+    }
+
+    /* (non-Javadoc)
+     * @see java.util.List#toArray()
+     */
+    public Object[] toArray() {
+        return arrayValue.toArray();
+    }
+
+    /* (non-Javadoc)
+     * @see java.util.List#toArray(T[])
+     */
+    public <T> T[] toArray(T[] a) {
+        return arrayValue.toArray(a);
+    }
+
+    /* (non-Javadoc)
+     * @see cc.plural.json.Value#nestedSize()
+     */
+    @Override
+    public int nestedSize() {
+        int c = 0;
+        for (E e : this) {
+            c += e.nestedSize();
+        }
+        return size() + c;
+    }
+
+    /* (non-Javadoc)
+     * @see cc.plural.json.Value#toJSON()
+     */
+    @Override
+    public String toJSON() {
+        Iterator<E> valueIterator = iterator();
+        if(valueIterator.hasNext()) {
+            StringBuilder jsonStringBuilder = new StringBuilder();
+            jsonStringBuilder.append('[');
+            Value value = valueIterator.next();
+            jsonStringBuilder.append(value.toJSON());
+            while(valueIterator.hasNext()) {
+                value = valueIterator.next();
+                jsonStringBuilder.append(',').append(value.toJSON());
+            }
+            jsonStringBuilder.append(']');
+            return jsonStringBuilder.toString();
+        } else {
+            return "[]";
+        }
+    }
+}

src/main/java/cc/plural/jsonij/ConstantUtility.java

-/**
- * Copyright (C) 2010-2011 J.W.Marsden
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- **/
-package cc.plural.jsonij;
-
-import static cc.plural.jsonij.Constants.CARRIAGE_RETURN;
-import static cc.plural.jsonij.Constants.DIGITS;
-import static cc.plural.jsonij.Constants.HEXDIGITS;
-import static cc.plural.jsonij.Constants.MINUS;
-import static cc.plural.jsonij.Constants.NEW_LINE;
-import static cc.plural.jsonij.Constants.PLUS;
-import static cc.plural.jsonij.Constants.SPACE;
-import static cc.plural.jsonij.Constants.TAB;
-
-
-public class ConstantUtility {
-
-    public static boolean isDigit(int r) {
-        return r >= DIGITS[0] && r <= DIGITS[9];
-    }
-
-    public static boolean isDigit(char c) {
-        return isDigit((int) c);
-    }
-
-    public static boolean isNumeric(int r) {
-        if (r == PLUS) {
-            // TODO: Make about invalid JSON
-            return true;
-        }
-        return r == MINUS || isDigit(r);
-    }
-
-    public static boolean isNumeric(char c) {
-        return isNumeric((int) c);
-    }
-
-    public static boolean isHexDigit(int r) {
-        return ( r >= HEXDIGITS[0] && r <= HEXDIGITS[9] )
-                || ( r >= HEXDIGITS[10] && r <= HEXDIGITS[15] )
-                || ( r >= HEXDIGITS[16] && r <= HEXDIGITS[21] );
-    }
-
-    public static boolean isHexDigit(char c) {
-        return isHexDigit((int) c);
-    }
-
-    public static boolean isWhiteSpace(int r) {
-        return r == SPACE || r == TAB;
-    }
-
-    public static boolean isWhiteSpace(char c) {
-        return isWhiteSpace((int) c);
-    }
-
-    public static boolean isNewLine(int r) {
-        return r == CARRIAGE_RETURN || r == NEW_LINE;
-    }
-
-    public static boolean isNewLine(char c) {
-        return isNewLine((int) c);
-    }
-
-    public static boolean isReturn(int r) {
-        return r == CARRIAGE_RETURN;
-    }
-
-    public static boolean isReturn(char c) {
-        return isReturn((int) c);
-    }
-
-    public static boolean isLineFeed(int r) {
-        return r == NEW_LINE;
-    }
-
-    public static boolean isLineFeed(char c) {
-        return isLineFeed((int) c);
-    }
-
-    public static boolean isValidStringChar(int r) {
-        return //( r >= 93 && r <= 1114111 ) || ( r >= 35 && r <= 91 ) || ( r == 32 ) || ( r == 33 );
-                r >= 32 && r != 34 && r != 92;
-    }
-}
+/**
+ * Copyright (C) 2010-2011 J.W.Marsden
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ **/
+package cc.plural.jsonij;
+
+import static cc.plural.jsonij.Constants.CARRIAGE_RETURN;
+import static cc.plural.jsonij.Constants.DIGITS;
+import static cc.plural.jsonij.Constants.HEXDIGITS;
+import static cc.plural.jsonij.Constants.MINUS;
+import static cc.plural.jsonij.Constants.NEW_LINE;
+import static cc.plural.jsonij.Constants.PLUS;
+import static cc.plural.jsonij.Constants.SPACE;
+import static cc.plural.jsonij.Constants.TAB;
+
+
+public class ConstantUtility {
+
+    public static boolean isDigit(int r) {
+        return r >= DIGITS[0] && r <= DIGITS[9];
+    }
+
+    public static boolean isDigit(char c) {
+        return isDigit((int) c);
+    }
+
+    public static boolean isNumeric(int r) {
+        if (r == PLUS) {
+            // TODO: Make about invalid JSON
+            return true;
+        }
+        return r == MINUS || isDigit(r);
+    }
+
+    public static boolean isNumeric(char c) {
+        return isNumeric((int) c);
+    }
+
+    public static boolean isHexDigit(int r) {
+        return ( r >= HEXDIGITS[0] && r <= HEXDIGITS[9] )
+                || ( r >= HEXDIGITS[10] && r <= HEXDIGITS[15] )
+                || ( r >= HEXDIGITS[16] && r <= HEXDIGITS[21] );
+    }
+
+    public static boolean isHexDigit(char c) {
+        return isHexDigit((int) c);
+    }
+
+    public static boolean isWhiteSpace(int r) {
+        return r == SPACE || r == TAB;
+    }
+
+    public static boolean isWhiteSpace(char c) {
+        return isWhiteSpace((int) c);
+    }
+
+    public static boolean isNewLine(int r) {
+        return r == CARRIAGE_RETURN || r == NEW_LINE;
+    }
+
+    public static boolean isNewLine(char c) {
+        return isNewLine((int) c);
+    }
+
+    public static boolean isReturn(int r) {
+        return r == CARRIAGE_RETURN;
+    }
+
+    public static boolean isReturn(char c) {
+        return isReturn((int) c);
+    }
+
+    public static boolean isLineFeed(int r) {
+        return r == NEW_LINE;
+    }
+
+    public static boolean isLineFeed(char c) {
+        return isLineFeed((int) c);
+    }
+
+    public static boolean isValidStringChar(int r) {
+        return //( r >= 93 && r <= 1114111 ) || ( r >= 35 && r <= 91 ) || ( r == 32 ) || ( r == 33 );
+                r >= 32 && r != 34 && r != 92;
+    }
+}

src/main/java/cc/plural/jsonij/Constants.java

-/**
- * Copyright (C) 2010-2011 J.W.Marsden
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- **/
-package cc.plural.jsonij;
-
-/**
- * JSON Constant Definition.
- * @author J.W.Marsden
- * @version 1.0.0
- */
-public interface Constants {
-
-    /***********************
-     * File Constants
-     ***********************/
-    public static final int BACKSPACE = '\b';
-    public static final int TAB = '\t';
-    public static final int FORM_FEED = '\f';
-    public static final int NEW_LINE = '\n';
-    public static final int CARRIAGE_RETURN = '\r';
-    public static final int SPACE = ' ';
-    public static final int ESCAPE = '\\';
-    public static final int QUOTATION_MARK = '\"';
-    /***********************
-     * JSON Constants
-     ***********************/
-    public static final int OPEN_ARRAY = '[';
-    public static final int OPEN_OBJECT = '{';
-    public static final int CLOSE_ARRAY = ']';
-    public static final int CLOSE_OBJECT = '}';
-    public static final int VALUE_SEPARATOR = ',';
-    public static final int NAME_SEPARATOR = ':';
-    /************************
-     * JSON Numeric Constants
-     ************************/
-    public static final char[] DIGITS =
-            new char[]{'0', '1', '2', '3', '4', '5', '6', '7', '8', '9'};
-    public static final int DECIMAL_POINT = '.';
-    public static final int MINUS = '-';
-    public static final int PLUS = '+';
-    public static final char[] EXPS = new char[]{'e', 'E'};
-    /************************
-     * JSON String Constants
-     ************************/
-    public static final int SINGLE_QUOTE = '\'';
-    public static final int DOUBLE_QUOTE = '"';
-    public static final int REVERSE_SOLIDUS = '\\';
-    public static final int SOLIDUS_CHAR = '/';
-    public static final int BACKSPACE_CHAR = 'b';
-    public static final int FORM_FEED_CHAR = 'f';
-    public static final int NEW_LINE_CHAR = 'n';
-    public static final int CARRIAGE_RETURN_CHAR = 'r';
-    public static final int TAB_CHAR = 't';
-    public static final int HEX_CHAR = 'u';
-    public static final char[] HEXDIGITS =
-            new char[]{'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f', 'A', 'B', 'C', 'D', 'E', 'F'};
-    /************************
-     * Other JSON Types
-     ************************/
-    public static final String TRUE_STR = "true";
-    public static final String FALSE_STR = "false";
-    public static final String NULL_STR = "null";
-    /************************
-     * JPath Constants
-     ************************/
-    public static final int LEFT_SQUARE_BRACKET = '[';
-    public static final int RIGHT_SQUARE_BRACKET = ']';
-    public static final int LEFT_PARENTHESIS = '(';
-    public static final int RIGHT_PARENTHESIS = ')';
-    public static final int ALL_CHAR = '*';
-    public static final int LAST_CHAR = '$';
-    public static final int EXPRESSION_CHAR = '?';
-    public static final int PERIOD_CHAR = '.';
-    public static final int CURRENT_ELEMENT_CHAR = '@';
-    public static final int COMMA_CHAR = ',';
-    public static final int COLON_CHAR = ':';
-    public static final int LESS = '<';
-    public static final int GREATER = '>';
-    public static final int EQUAL = '=';
-    public static final int AND = '&';
-    public static final int OR = '|';
-    public static final String LAST_PREDICATE = "last()";
-    public static final String POSITION_PREDICATE = "position()";
-
-}
+/**
+ * Copyright (C) 2010-2011 J.W.Marsden
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ **/
+package cc.plural.jsonij;
+
+/**
+ * JSON Constant Definition.
+ * @author J.W.Marsden
+ * @version 1.0.0
+ */
+public interface Constants {
+
+    /***********************
+     * File Constants
+     ***********************/
+    public static final int BACKSPACE = '\b';
+    public static final int TAB = '\t';
+    public static final int FORM_FEED = '\f';
+    public static final int NEW_LINE = '\n';
+    public static final int CARRIAGE_RETURN = '\r';
+    public static final int SPACE = ' ';
+    public static final int ESCAPE = '\\';
+    public static final int QUOTATION_MARK = '\"';
+    /***********************
+     * JSON Constants
+     ***********************/
+    public static final int OPEN_ARRAY = '[';
+    public static final int OPEN_OBJECT = '{';
+    public static final int CLOSE_ARRAY = ']';
+    public static final int CLOSE_OBJECT = '}';
+    public static final int VALUE_SEPARATOR = ',';
+    public static final int NAME_SEPARATOR = ':';
+    /************************
+     * JSON Numeric Constants
+     ************************/
+    public static final char[] DIGITS =
+            new char[]{'0', '1', '2', '3', '4', '5', '6', '7', '8', '9'};
+    public static final int DECIMAL_POINT = '.';
+    public static final int MINUS = '-';
+    public static final int PLUS = '+';
+    public static final char[] EXPS = new char[]{'e', 'E'};
+    /************************
+     * JSON String Constants
+     ************************/
+    public static final int SINGLE_QUOTE = '\'';
+    public static final int DOUBLE_QUOTE = '"';
+    public static final int REVERSE_SOLIDUS = '\\';
+    public static final int SOLIDUS_CHAR = '/';
+    public static final int BACKSPACE_CHAR = 'b';
+    public static final int FORM_FEED_CHAR = 'f';
+    public static final int NEW_LINE_CHAR = 'n';
+    public static final int CARRIAGE_RETURN_CHAR = 'r';
+    public static final int TAB_CHAR = 't';
+    public static final int HEX_CHAR = 'u';
+    public static final char[] HEXDIGITS =
+            new char[]{'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f', 'A', 'B', 'C', 'D', 'E', 'F'};
+    /************************
+     * Other JSON Types
+     ************************/
+    public static final String TRUE_STR = "true";
+    public static final String FALSE_STR = "false";
+    public static final String NULL_STR = "null";
+    /************************
+     * JPath Constants
+     ************************/
+    public static final int LEFT_SQUARE_BRACKET = '[';
+    public static final int RIGHT_SQUARE_BRACKET = ']';
+    public static final int LEFT_PARENTHESIS = '(';
+    public static final int RIGHT_PARENTHESIS = ')';
+    public static final int ALL_CHAR = '*';
+    public static final int LAST_CHAR = '$';
+    public static final int EXPRESSION_CHAR = '?';
+    public static final int PERIOD_CHAR = '.';
+    public static final int CURRENT_ELEMENT_CHAR = '@';
+    public static final int COMMA_CHAR = ',';
+    public static final int COLON_CHAR = ':';
+    public static final int LESS = '<';
+    public static final int GREATER = '>';
+    public static final int EQUAL = '=';
+    public static final int AND = '&';
+    public static final int OR = '|';
+    public static final String LAST_PREDICATE = "last()";
+    public static final String POSITION_PREDICATE = "position()";
+
+}

src/main/java/cc/plural/jsonij/DoubleInternalNumber.java

-/*
- * Copyright 2011 jmarsden.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package cc.plural.jsonij;
-
-import java.io.Serializable;
-
-/**
- *
- * @author J.W.Marsden
- */
-public class DoubleInternalNumber extends InternalNumber implements Serializable {
-    
-    /**
-        * Serial UID
-        */
-    private static final long serialVersionUID = 7240423424673550573L;
-
-    double value;
-
-    public DoubleInternalNumber(double value) {
-        this.value = value;
-    }
-
-    public byte byteValue() {
-        return new Double(value).byteValue();
-    }
-
-    public double doubleValue() {
-        return new Double(value).doubleValue();
-    }
-
-    public float floatValue() {
-        return new Double(value).floatValue();
-    }
-
-    public int intValue() {
-        return new Double(value).intValue();
-    }
-
-    public long longValue() {
-        return new Double(value).longValue();
-    }
-
-    public short shortValue() {
-        return new Double(value).shortValue();
-    }
-
-    @Override
-    public Number getNumber() {
-        return new Double(value);
-    }
-
-    /* (non-Javadoc)
-     * @see com.realitypipe.json.Value#toJSON()
-     */
-    @Override
-    public String toJSON() {
-        return "" + value;
-    }
-}
+/*
+ * Copyright 2011 jmarsden.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cc.plural.jsonij;
+
+import java.io.Serializable;
+
+/**
+ *
+ * @author J.W.Marsden
+ */
+public class DoubleInternalNumber extends InternalNumber implements Serializable {
+    
+    /**
+        * Serial UID
+        */
+    private static final long serialVersionUID = 7240423424673550573L;
+
+    double value;
+
+    public DoubleInternalNumber(double value) {
+        this.value = value;
+    }
+
+    public byte byteValue() {
+        return new Double(value).byteValue();
+    }
+
+    public double doubleValue() {
+        return new Double(value).doubleValue();
+    }
+
+    public float floatValue() {
+        return new Double(value).floatValue();
+    }
+
+    public int intValue() {
+