public class OptionalTypeAdapterFactory extends Object implements com.google.gson.TypeAdapterFactory
TypeAdapterFactory implementation which creates OptionalTypeAdapter instances when a Optional
object is needed to be serialized or deserialized.| Constructor and Description |
|---|
OptionalTypeAdapterFactory() |
| Modifier and Type | Method and Description |
|---|---|
<T> com.google.gson.TypeAdapter<T> |
create(com.google.gson.Gson gson,
com.google.gson.reflect.TypeToken<T> type) |
Copyright © 2016 MuleSoft, Inc.. All rights reserved.