| Modifier and Type | Method and Description |
|---|---|
static Reader<Object> |
reader(Jsonb jsonb)
|
static Function<Object,Flow.Publisher<DataChunk>> |
writer(Jsonb jsonb)
|
public static Reader<Object> reader(Jsonb jsonb)
Reader that converts a Publisher of ByteBuffers to
a Java object.
This method is intended for the derivation of other, more specific readers.
jsonb - the Jsonb to use; must not be nullRuntimeException in case of I/O errorNullPointerException - if objectMapper is nullpublic static Function<Object,Flow.Publisher<DataChunk>> writer(Jsonb jsonb)
Objects to Publishers
of DataChunks by using the supplied Jsonb.jsonb - the Jsonb to use; must not be nullNullPointerException - if jsonb is nullCopyright © 2018–2019 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms.