public interface CookJsonGenerator extends JsonGenerator
PRETTY_PRINTING| Modifier and Type | Method and Description |
|---|---|
JsonGenerator |
write(byte[] value)
Writes the specified data as a binary value within the current
array context.
|
JsonGenerator |
write(String name,
byte[] value)
Writes the specified data as a binary value within the current
object context.
|
JsonGenerator write(String name, byte[] value)
name - the key name.value - a binary data to be writtenJsonGenerationException - if this method is not called within an array contextJsonException - in case of other errors (such as I/O).CookJsonBinaryJsonGenerator write(byte[] value)
value - a binary data to be writtenJsonGenerationException - if this method is not called within an array contextJsonException - in case of other errors (such as I/O).CookJsonBinaryCopyright © 2016. All rights reserved.