public class VavrGson
extends java.lang.Object
Modifier and Type | Method | Description |
---|---|---|
static io.vavr.collection.Map<java.lang.reflect.Type,java.lang.Object> |
collectionTypeAdapters() |
|
static io.vavr.collection.Map<java.lang.reflect.Type,java.lang.Object> |
lazyTypeAdapters() |
|
static io.vavr.collection.Map<java.lang.reflect.Type,java.lang.Object> |
mapTypeAdapters() |
|
static io.vavr.collection.Map<java.lang.reflect.Type,java.lang.Object> |
multiMapTypeAdapters() |
|
static com.google.gson.GsonBuilder |
registerAll(com.google.gson.GsonBuilder builder) |
Registers all the Vavr converters.
|
static com.google.gson.GsonBuilder |
registerAllCollections(com.google.gson.GsonBuilder builder) |
Registers all the collection converters.
|
static com.google.gson.GsonBuilder |
registerAllMaps(com.google.gson.GsonBuilder builder) |
Registers all the
Map converters. |
static com.google.gson.GsonBuilder |
registerAllMultimaps(com.google.gson.GsonBuilder builder) |
Registers all the
Multimap converters. |
static com.google.gson.GsonBuilder |
registerArray(com.google.gson.GsonBuilder builder) |
Registers the
Array converter. |
static com.google.gson.GsonBuilder |
registerHashMap(com.google.gson.GsonBuilder builder) |
Registers the
HashMap converter. |
static com.google.gson.GsonBuilder |
registerHashMultimap(com.google.gson.GsonBuilder builder) |
Registers the
HashMultimap converter. |
static com.google.gson.GsonBuilder |
registerHashSet(com.google.gson.GsonBuilder builder) |
Registers the
HashSet converter. |
static com.google.gson.GsonBuilder |
registerIndexedSeq(com.google.gson.GsonBuilder builder) |
Registers the
IndexedSeq converter. |
static com.google.gson.GsonBuilder |
registerLazy(com.google.gson.GsonBuilder builder) |
Registers the
Lazy converter. |
static com.google.gson.GsonBuilder |
registerLinearSeq(com.google.gson.GsonBuilder builder) |
Registers the
LinearSeq converter. |
static com.google.gson.GsonBuilder |
registerLinkedHashMap(com.google.gson.GsonBuilder builder) |
Registers the
LinkedHashMap converter. |
static com.google.gson.GsonBuilder |
registerLinkedHashMultimap(com.google.gson.GsonBuilder builder) |
Registers the
LinkedHashMultimap converter. |
static com.google.gson.GsonBuilder |
registerLinkedHashSet(com.google.gson.GsonBuilder builder) |
Registers the
LinkedHashSet converter. |
static com.google.gson.GsonBuilder |
registerList(com.google.gson.GsonBuilder builder) |
Registers the
List converter. |
static com.google.gson.GsonBuilder |
registerMap(com.google.gson.GsonBuilder builder) |
Registers the
Map converter. |
static com.google.gson.GsonBuilder |
registerMultimap(com.google.gson.GsonBuilder builder) |
Registers the
Multimap converter. |
static com.google.gson.GsonBuilder |
registerOption(com.google.gson.GsonBuilder builder) |
Registers the
Option converter. |
static com.google.gson.GsonBuilder |
registerPriorityQueue(com.google.gson.GsonBuilder builder) |
Registers the
PriorityQueue converter. |
static com.google.gson.GsonBuilder |
registerQueue(com.google.gson.GsonBuilder builder) |
Registers the
Queue converter. |
static com.google.gson.GsonBuilder |
registerSeq(com.google.gson.GsonBuilder builder) |
Registers the
Seq converter. |
static com.google.gson.GsonBuilder |
registerSet(com.google.gson.GsonBuilder builder) |
Registers the
Set converter. |
static com.google.gson.GsonBuilder |
registerSortedMap(com.google.gson.GsonBuilder builder) |
Registers the
SortedMap converter. |
static com.google.gson.GsonBuilder |
registerSortedMultimap(com.google.gson.GsonBuilder builder) |
Registers the
SortedMultimap converter. |
static com.google.gson.GsonBuilder |
registerSortedSet(com.google.gson.GsonBuilder builder) |
Registers the
SortedSet converter. |
static com.google.gson.GsonBuilder |
registerStream(com.google.gson.GsonBuilder builder) |
Registers the
Stream converter. |
static com.google.gson.GsonBuilder |
registerTreeMap(com.google.gson.GsonBuilder builder) |
Registers the
TreeMap converter. |
static com.google.gson.GsonBuilder |
registerTreeMultimap(com.google.gson.GsonBuilder builder) |
Registers the
TreeMultimap converter. |
static com.google.gson.GsonBuilder |
registerTreeSet(com.google.gson.GsonBuilder builder) |
Registers the
TreeSet converter. |
static com.google.gson.GsonBuilder |
registerTuples(com.google.gson.GsonBuilder builder) |
Registers all the
Tuple s converters. |
static com.google.gson.GsonBuilder |
registerVector(com.google.gson.GsonBuilder builder) |
Registers the
Vector converter. |
static io.vavr.collection.Map<java.lang.reflect.Type,java.lang.Object> |
tupleTypeAdapters() |
|
static io.vavr.collection.Map<java.lang.reflect.Type,java.lang.Object> |
typeAdapters() |
|
static io.vavr.collection.Map<java.lang.Class<?>,java.lang.Object> |
typeHierarchyAdapters() |
public static com.google.gson.GsonBuilder registerAll(com.google.gson.GsonBuilder builder)
builder
- The GSON builder to register the converters with.builder
.public static com.google.gson.GsonBuilder registerLazy(com.google.gson.GsonBuilder builder)
Lazy
converter.builder
- The GSON builder to register the converters with.builder
.public static com.google.gson.GsonBuilder registerOption(com.google.gson.GsonBuilder builder)
Option
converter.builder
- The GSON builder to register the converters with.builder
.public static com.google.gson.GsonBuilder registerAllMultimaps(com.google.gson.GsonBuilder builder)
Multimap
converters.builder
- The GSON builder to register the converters with.builder
.public static com.google.gson.GsonBuilder registerHashMultimap(com.google.gson.GsonBuilder builder)
HashMultimap
converter.builder
- The GSON builder to register the converters with.builder
.public static com.google.gson.GsonBuilder registerMultimap(com.google.gson.GsonBuilder builder)
Multimap
converter.builder
- The GSON builder to register the converters with.builder
.public static com.google.gson.GsonBuilder registerSortedMultimap(com.google.gson.GsonBuilder builder)
SortedMultimap
converter.builder
- The GSON builder to register the converters with.builder
.public static com.google.gson.GsonBuilder registerLinkedHashMultimap(com.google.gson.GsonBuilder builder)
LinkedHashMultimap
converter.builder
- The GSON builder to register the converters with.builder
.public static com.google.gson.GsonBuilder registerTreeMultimap(com.google.gson.GsonBuilder builder)
TreeMultimap
converter.builder
- The GSON builder to register the converters with.builder
.public static com.google.gson.GsonBuilder registerAllMaps(com.google.gson.GsonBuilder builder)
Map
converters.builder
- The GSON builder to register the converters with.builder
.public static com.google.gson.GsonBuilder registerHashMap(com.google.gson.GsonBuilder builder)
HashMap
converter.builder
- The GSON builder to register the converters with.builder
.public static com.google.gson.GsonBuilder registerMap(com.google.gson.GsonBuilder builder)
Map
converter.builder
- The GSON builder to register the converters with.builder
.public static com.google.gson.GsonBuilder registerSortedMap(com.google.gson.GsonBuilder builder)
SortedMap
converter.builder
- The GSON builder to register the converters with.builder
.public static com.google.gson.GsonBuilder registerLinkedHashMap(com.google.gson.GsonBuilder builder)
LinkedHashMap
converter.builder
- The GSON builder to register the converters with.builder
.public static com.google.gson.GsonBuilder registerTreeMap(com.google.gson.GsonBuilder builder)
TreeMap
converter.builder
- The GSON builder to register the converters with.builder
.public static com.google.gson.GsonBuilder registerTuples(com.google.gson.GsonBuilder builder)
Tuple
s converters.builder
- The GSON builder to register the converters with.builder
.public static com.google.gson.GsonBuilder registerAllCollections(com.google.gson.GsonBuilder builder)
builder
- The GSON builder to register the converters with.builder
.public static com.google.gson.GsonBuilder registerPriorityQueue(com.google.gson.GsonBuilder builder)
PriorityQueue
converter.builder
- The GSON builder to register the converters with.builder
.public static com.google.gson.GsonBuilder registerHashSet(com.google.gson.GsonBuilder builder)
HashSet
converter.builder
- The GSON builder to register the converters with.builder
.public static com.google.gson.GsonBuilder registerSet(com.google.gson.GsonBuilder builder)
Set
converter.builder
- The GSON builder to register the converters with.builder
.public static com.google.gson.GsonBuilder registerSortedSet(com.google.gson.GsonBuilder builder)
SortedSet
converter.builder
- The GSON builder to register the converters with.builder
.public static com.google.gson.GsonBuilder registerLinkedHashSet(com.google.gson.GsonBuilder builder)
LinkedHashSet
converter.builder
- The GSON builder to register the converters with.builder
.public static com.google.gson.GsonBuilder registerTreeSet(com.google.gson.GsonBuilder builder)
TreeSet
converter.builder
- The GSON builder to register the converters with.builder
.public static com.google.gson.GsonBuilder registerArray(com.google.gson.GsonBuilder builder)
Array
converter.builder
- The GSON builder to register the converters with.builder
.public static com.google.gson.GsonBuilder registerSeq(com.google.gson.GsonBuilder builder)
Seq
converter.builder
- The GSON builder to register the converters with.builder
.public static com.google.gson.GsonBuilder registerIndexedSeq(com.google.gson.GsonBuilder builder)
IndexedSeq
converter.builder
- The GSON builder to register the converters with.builder
.public static com.google.gson.GsonBuilder registerLinearSeq(com.google.gson.GsonBuilder builder)
LinearSeq
converter.builder
- The GSON builder to register the converters with.builder
.public static com.google.gson.GsonBuilder registerList(com.google.gson.GsonBuilder builder)
List
converter.builder
- The GSON builder to register the converters with.builder
.public static com.google.gson.GsonBuilder registerQueue(com.google.gson.GsonBuilder builder)
Queue
converter.builder
- The GSON builder to register the converters with.builder
.public static com.google.gson.GsonBuilder registerStream(com.google.gson.GsonBuilder builder)
Stream
converter.builder
- The GSON builder to register the converters with.builder
.public static com.google.gson.GsonBuilder registerVector(com.google.gson.GsonBuilder builder)
Vector
converter.builder
- The GSON builder to register the converters with.builder
.public static io.vavr.collection.Map<java.lang.reflect.Type,java.lang.Object> typeAdapters()
public static io.vavr.collection.Map<java.lang.Class<?>,java.lang.Object> typeHierarchyAdapters()
public static io.vavr.collection.Map<java.lang.reflect.Type,java.lang.Object> lazyTypeAdapters()
public static io.vavr.collection.Map<java.lang.reflect.Type,java.lang.Object> multiMapTypeAdapters()
public static io.vavr.collection.Map<java.lang.reflect.Type,java.lang.Object> mapTypeAdapters()
public static io.vavr.collection.Map<java.lang.reflect.Type,java.lang.Object> collectionTypeAdapters()
public static io.vavr.collection.Map<java.lang.reflect.Type,java.lang.Object> tupleTypeAdapters()