| Package | Description |
|---|---|
| org.apache.fury.format.encoder |
| Modifier and Type | Method and Description |
|---|---|
static <T extends Map,K,V> |
Encoders.mapEncoder(Class<? extends Map> mapCls,
Class<K> keyType,
Class<V> valueType)
The underlying implementation uses array, only supported
Map format, because generic
type such as List is erased to simply List, so a bean class input param is required. |
static <T extends Map,K,V> |
Encoders.mapEncoder(TypeRef<? extends Map> mapToken,
TypeRef<K> keyToken,
TypeRef<V> valToken,
Fury fury)
Creates an encoder for Java Bean of type T.
|
static <T extends Map> |
Encoders.mapEncoder(TypeRef<T> token)
Supported nested map format.
|
static <T extends Map> |
Encoders.mapEncoder(TypeRef<T> token,
Fury fury) |
Copyright © 2023-2024, The Apache Software Foundation. Apache Fury™, Fury™, and Apache are either registered trademarks or trademarks of the Apache Software Foundation.