public class JsonConverter extends Object
BasicStringTypeAdapter -
extend it if you need to represent value as single String and don't want to deal with JSON API.
For implementation example see LocalDateTimeTypeAdapter.
JsonTypeAdapter - use it if you need full control over JSON conversion
native Gson TypeAdapter //TODO not implemented yet
LocalDateTime.
Those adapters are included by default in Javers setup, see BUILT_IN_ADAPTERS
| Constructor and Description |
|---|
JsonConverter() |
JsonConverter(Collection<JsonTypeAdapter> customAdapters) |
public JsonConverter()
public JsonConverter(Collection<JsonTypeAdapter> customAdapters)
Copyright © 2013. All rights reserved.