public class JohnzonSerializationContext extends Object implements SerializationContext
Constructor and Description |
---|
JohnzonSerializationContext(MappingGenerator runtime) |
Modifier and Type | Method and Description |
---|---|
<T> void |
serialize(String key,
T object,
javax.json.stream.JsonGenerator generator) |
<T> void |
serialize(T object,
javax.json.stream.JsonGenerator generator) |
public JohnzonSerializationContext(MappingGenerator runtime)
public <T> void serialize(String key, T object, javax.json.stream.JsonGenerator generator)
serialize
in interface SerializationContext
public <T> void serialize(T object, javax.json.stream.JsonGenerator generator)
serialize
in interface SerializationContext
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.