public class MarshallerRegistry extends Object
Modifier and Type | Class and Description |
---|---|
static class |
MarshallerRegistry.Builder
Builder for a
MarshallerRegistry . |
Modifier and Type | Method and Description |
---|---|
static MarshallerRegistry.Builder |
builder() |
<T> JsonMarshaller<T> |
getMarshaller(MarshallLocation marshallLocation,
MarshallingType<T> marshallingType,
T val) |
<T> JsonMarshaller<T> |
getMarshaller(MarshallLocation marshallLocation,
T val) |
MarshallerRegistry |
merge(MarshallerRegistry.Builder marshallerRegistryOverrides)
Merge the given overrides with 'this' registry.
|
<T> MarshallingType<T> |
toMarshallingType(T val) |
public <T> JsonMarshaller<T> getMarshaller(MarshallLocation marshallLocation, T val)
public <T> JsonMarshaller<T> getMarshaller(MarshallLocation marshallLocation, MarshallingType<T> marshallingType, T val)
public <T> MarshallingType<T> toMarshallingType(T val)
public MarshallerRegistry merge(MarshallerRegistry.Builder marshallerRegistryOverrides)
marshallerRegistryOverrides
- Override registry.MarshallerRegistry
with marshallers merged.public static MarshallerRegistry.Builder builder()
MarshallerRegistry
.Copyright © 2024. All rights reserved.