-
- All Implemented Interfaces:
-
java.lang.AutoCloseable,net.pwall.util.pipeline.BaseCoAcceptor,net.pwall.util.pipeline.CoAcceptor,net.pwall.util.pipeline.CoPipeline
public final class JSONDeserializerCoPipeline<E extends Object, R extends Object> extends AbstractCoPipeline<JSONValue, E, R>
A pipeline that takes a JSONValue and emits the deserialized value.
-
-
Constructor Summary
Constructors Constructor Description JSONDeserializerCoPipeline(KType type, CoAcceptor<E, R> downstream, JSONConfig config)
-
Method Summary
Modifier and Type Method Description UnitacceptObject(JSONValue value)final Booleanget_closed()BooleangetClosed()BooleangetComplete()final CoAcceptor<E, R>getDownstream()RgetResult()final Unitset_closed(Boolean _closed)-
Methods inherited from class net.pwall.util.pipeline.AbstractCoPipeline
accept -
Methods inherited from class net.pwall.json.stream.JSONDeserializerCoPipeline
close, emit, flush -
Methods inherited from class java.lang.AutoCloseable
equals, hashCode, toString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
acceptObject
Unit acceptObject(JSONValue value)
-
get_closed
final Boolean get_closed()
-
getComplete
Boolean getComplete()
-
getDownstream
final CoAcceptor<E, R> getDownstream()
-
set_closed
final Unit set_closed(Boolean _closed)
-
-
-
-