thinkmap.server.json
Class JSONReader

java.lang.Object
  extended by java.io.Reader
      extended by java.io.FilterReader
          extended by java.io.PushbackReader
              extended by thinkmap.server.json.JSONReader
All Implemented Interfaces:
Closeable, Readable

public class JSONReader
extends PushbackReader


Field Summary
 
Fields inherited from class java.io.FilterReader
in
 
Fields inherited from class java.io.Reader
lock
 
Constructor Summary
JSONReader(Reader r)
           
 
Method Summary
static void main(String[] args)
           
static Object parseJSON(String s)
           
 Object readObject()
           
 
Methods inherited from class java.io.PushbackReader
close, mark, markSupported, read, read, ready, reset, skip, unread, unread, unread
 
Methods inherited from class java.io.Reader
read, read
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSONReader

public JSONReader(Reader r)
Method Detail

main

public static void main(String[] args)

parseJSON

public static Object parseJSON(String s)
                        throws JSONSyntaxException
Throws:
JSONSyntaxException

readObject

public Object readObject()
                  throws IOException,
                         JSONSyntaxException
Throws:
IOException
JSONSyntaxException


Copyright © 2013 Thinkmap, Inc. All Rights Reserved.