@HandleClassMetadata(serialization=true, deserialization=true) public class JSR353Bundle.JsonValueConverter extends Object implements Converter<javax.json.JsonValue>
Constructor and Description |
---|
JsonValueConverter() |
Modifier and Type | Method and Description |
---|---|
javax.json.JsonValue |
deserArray(ObjectReader reader,
Context ctx) |
javax.json.JsonValue |
deserialize(ObjectReader reader,
Context ctx) |
javax.json.JsonValue |
deserObject(ObjectReader reader,
Context ctx) |
void |
serialize(javax.json.JsonValue value,
ObjectWriter writer,
Context ctx) |
public void serialize(javax.json.JsonValue value, ObjectWriter writer, Context ctx)
serialize
in interface Converter<javax.json.JsonValue>
serialize
in interface Serializer<javax.json.JsonValue>
value
- we want to serialize. The object is of type T or a subclass (if this serializer
has been registered for subclasses).writer
- to use to write data to the output stream.ctx
- the current context.public javax.json.JsonValue deserialize(ObjectReader reader, Context ctx)
deserialize
in interface Converter<javax.json.JsonValue>
deserialize
in interface Deserializer<javax.json.JsonValue>
reader
- used to read data from.ctx
- the current context.public javax.json.JsonValue deserObject(ObjectReader reader, Context ctx)
public javax.json.JsonValue deserArray(ObjectReader reader, Context ctx)
Copyright © 2019. All rights reserved.