diff --git a/.classpath b/.classpath new file mode 100644 index 0000000..610afb5 --- /dev/null +++ b/.classpath @@ -0,0 +1,6 @@ + + + + + + diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..fb5f9a0 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +.DS_Store +*.class +classes \ No newline at end of file diff --git a/.project b/.project new file mode 100644 index 0000000..f4e312d --- /dev/null +++ b/.project @@ -0,0 +1,18 @@ + + + jsonparser + JavaCC Nature + + + + + org.eclipse.jdt.core.javabuilder + + + + + + org.eclipse.jem.workbench.JavaEMFNature + org.eclipse.jdt.core.javanature + + diff --git a/README b/README new file mode 100644 index 0000000..1007a70 --- /dev/null +++ b/README @@ -0,0 +1,7 @@ +A JavaCC-based JSON Parser. + +The grammar productions are based on the 'railroad' diagrams +at json.org and RFC 4627 (http://www.ietf.org/rfc/rfc4627.txt) + +JSON objects are represented as Java Maps (concrete class LinkedHashMap) +and JSON arrays are represented as Java Lists (concrete class ArrayList)