public class SimpleTypeRpcV2CborMarshallers extends Object
| Modifier and Type | Field and Description |
|---|---|
static RpcV2CborMarshaller<BigDecimal> |
BIG_DECIMAL |
static RpcV2CborMarshaller<BigInteger> |
BIG_INTEGER |
static RpcV2CborMarshaller<Boolean> |
BOOLEAN |
static RpcV2CborMarshaller<ByteBuffer> |
BYTE_BUFFER |
static RpcV2CborMarshaller<Date> |
DATE |
static RpcV2CborMarshaller<Double> |
DOUBLE |
static RpcV2CborMarshaller<Float> |
FLOAT |
static RpcV2CborMarshaller<Integer> |
INTEGER |
static RpcV2CborMarshaller<List> |
LIST |
static RpcV2CborMarshaller<Long> |
LONG |
static RpcV2CborMarshaller<Map> |
MAP
Marshalls a Map as a RPCV2CBOR object where each key becomes a field.
|
static RpcV2CborMarshaller<Void> |
NULL
If the marshallingInfo is null, we are in a container (not a top level member) and should preserve
RPCV2CBOR null.
|
static RpcV2CborMarshaller<Short> |
SHORT |
static RpcV2CborMarshaller<String> |
STRING |
static RpcV2CborMarshaller<StructuredPojo> |
STRUCTURED |
| Constructor and Description |
|---|
SimpleTypeRpcV2CborMarshallers() |
| Modifier and Type | Method and Description |
|---|---|
static <T> RpcV2CborMarshaller<T> |
adapt(StructuredRpcV2CborMarshaller<T> toAdapt)
Adapt a
StructuredRpcV2CborMarshaller to a RpcV2CborMarshaller. |
public static final RpcV2CborMarshaller<Void> NULL
public static final RpcV2CborMarshaller<String> STRING
public static final RpcV2CborMarshaller<Integer> INTEGER
public static final RpcV2CborMarshaller<Long> LONG
public static final RpcV2CborMarshaller<Short> SHORT
public static final RpcV2CborMarshaller<Float> FLOAT
public static final RpcV2CborMarshaller<BigDecimal> BIG_DECIMAL
public static final RpcV2CborMarshaller<Double> DOUBLE
public static final RpcV2CborMarshaller<BigInteger> BIG_INTEGER
public static final RpcV2CborMarshaller<Boolean> BOOLEAN
public static final RpcV2CborMarshaller<Date> DATE
public static final RpcV2CborMarshaller<ByteBuffer> BYTE_BUFFER
public static final RpcV2CborMarshaller<StructuredPojo> STRUCTURED
public static final RpcV2CborMarshaller<List> LIST
public static final RpcV2CborMarshaller<Map> MAP
public static <T> RpcV2CborMarshaller<T> adapt(StructuredRpcV2CborMarshaller<T> toAdapt)
StructuredRpcV2CborMarshaller to a RpcV2CborMarshaller. RpcV2CborMarshaller has a lot of internal
stuff so we don't want to expose all that across module boundaries.T - Type of thing being marshalled.toAdapt - Marshaller to adapt.Copyright © 2025. All rights reserved.