thinkmap.server.json
Class JSONReader
java.lang.Object
java.io.Reader
java.io.FilterReader
java.io.PushbackReader
thinkmap.server.json.JSONReader
- All Implemented Interfaces:
- Closeable, Readable
public class JSONReader
- extends PushbackReader
| Methods inherited from class java.io.PushbackReader |
close, mark, markSupported, read, read, ready, reset, skip, unread, unread, unread |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JSONReader
public JSONReader(Reader r)
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.