public class TsonSerializerImpl extends Object implements TsonSerializer
| Constructor and Description |
|---|
TsonSerializerImpl() |
TsonSerializerImpl(TsonSerializerConfig other) |
| Modifier and Type | Method and Description |
|---|---|
TsonSerializerBuilder |
builder() |
TsonObjectContext |
context() |
<T> T |
defaultElementToObject(TsonElement e,
Class<T> to,
TsonObjectContext context) |
protected <T> TsonElement |
defaultObjectToElement(T any,
TsonObjectContext context) |
<T> T |
deserialize(TsonElement e,
Class<T> to) |
TsonElement |
serialize(Object o) |
TsonElement[] |
serializeArray(Object... o) |
public TsonSerializerImpl(TsonSerializerConfig other)
public TsonSerializerImpl()
protected <T> TsonElement defaultObjectToElement(T any, TsonObjectContext context)
public TsonObjectContext context()
context in interface TsonSerializerpublic TsonElement serialize(Object o)
serialize in interface TsonSerializerpublic TsonElement[] serializeArray(Object... o)
serializeArray in interface TsonSerializerpublic <T> T deserialize(TsonElement e, Class<T> to)
deserialize in interface TsonSerializerpublic <T> T defaultElementToObject(TsonElement e, Class<T> to, TsonObjectContext context)
public TsonSerializerBuilder builder()
builder in interface TsonSerializerCopyright © 2024 vpc open source initiative. All rights reserved.