Package de.xima.fc.converter.json
Class JsonPathMapConverter
java.lang.Object
de.xima.fc.converter.json.JsonPathMapConverter
Converts objects to a Map of JSON path value pairs and back. This can be used when storing information of which the
structure is unknown or variable in DB entities. The information can than be stored in POJOs and turned into a map of
key value pairs by this converter which can be stored in an attributes map on the entity. (Migratable) Encryption is
enabled by default for each value but can be turned of for specific fields with the annotation
NoEncryption
.- Since:
- 8.0.0
- Author:
- XIMA Media GmbH
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> T
parseObject
(Map<String, String> data, Class<T> modelClass) toPathValueMap
(Object object)
-
Field Details
-
DEFAULT
-
-
Constructor Details
-
JsonPathMapConverter
public JsonPathMapConverter(boolean useEncryption)
-
-
Method Details
-
toPathValueMap
-
parseObject
-