com.koushikdutta.async.parser
Class JSONObjectParser

java.lang.Object
  extended by com.koushikdutta.async.parser.JSONObjectParser
All Implemented Interfaces:
AsyncParser<JSONObject>

public class JSONObjectParser
extends java.lang.Object
implements AsyncParser<JSONObject>

Created by koush on 5/27/13.


Constructor Summary
JSONObjectParser()
           
 
Method Summary
 Future<JSONObject> parse(DataEmitter emitter)
           
 void write(DataSink sink, JSONObject value, CompletedCallback completed)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSONObjectParser

public JSONObjectParser()
Method Detail

parse

public Future<JSONObject> parse(DataEmitter emitter)
Specified by:
parse in interface AsyncParser<JSONObject>

write

public void write(DataSink sink,
                  JSONObject value,
                  CompletedCallback completed)
Specified by:
write in interface AsyncParser<JSONObject>