@Beta public interface JsonMapper
JsonConfig.setJsonMapper(JsonMapper) it
to be able to convert objects to/from JSON between your application and database.
jdbi3-jackson2 and jdbi3-gson2 are readily available for this.| Modifier and Type | Method and Description |
|---|---|
Object |
fromJson(Type type,
String json,
ConfigRegistry config) |
String |
toJson(Type type,
Object value,
ConfigRegistry config) |
String toJson(Type type, Object value, ConfigRegistry config)
Object fromJson(Type type, String json, ConfigRegistry config)
Copyright © 2019. All rights reserved.