Strict JSON parser for Android, written in Mirah
Java
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
org/xinuc/jason
.gitignore
README.markdown
Test.java
Test.json
Test2.json

README.markdown

Jason Mirah is an attempt to create a strict and standard compliant JSON parser library for mobile application. It has a very simple API: JSON.parse("{\"a\": 5}") // return a java.util.Hashtable object

JSON.parse("[1,2,3,4,5]") // return a java.util.Vector object

rfc4627

The mapping between JSON objects and Java Objects: string => java.lang.String number => java.lang.Integer / java.lang.Double boolean => java.lang.Boolean null => org.xinuc.jason.JSONNull

object => java.util.Hashtable
array => java.util.Vector

It should parse valid JSON strings correctly. Please report if you find any bug.

Contributors: Nugroho Herucahyono Stephan Leroux