Package com.axelor.data.export.utils
Class JsonUtils
java.lang.Object
com.axelor.data.export.utils.JsonUtils
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ObjectevalJsonValue(Class<?> type, Map<?, ?> values, String path) static MetaJsonFieldfindJsonField(Class<?> type, String field, String name) static MetaJsonFieldfindJsonField(String jsonModel, String name) static List<MetaJsonField> findJsonFields(Class<?> type, String field) static List<MetaJsonField> findJsonFields(String jsonModel) static MetaJsonModelfindJsonModel(String name) static StringfindJsonTitle(Class<?> type, String path) static MetaJsonFieldfindNameField(MetaJsonModel jsonModel) static MetaJsonFieldfindNameField(String jsonModel) static <T> Tstatic <T> Tstatic booleanisJsonCollection(MetaJsonField field) static booleanstatic booleanstatic booleanisJsonReference(MetaJsonField field) static String
-
Field Details
-
JSON_ATTRS
- See Also:
-
JSON_MANY_TO_ONE
- See Also:
-
JSON_MANY_TO_MANY
- See Also:
-
JSON_ONE_TO_MANY
- See Also:
-
JSON_CUSTOM_MANY_TO_ONE
- See Also:
-
JSON_CUSTOM_MANY_TO_MANY
- See Also:
-
JSON_CUSTOM_ONE_TO_MANY
- See Also:
-
-
Constructor Details
-
JsonUtils
public JsonUtils()
-
-
Method Details
-
toJson
-
fromJson
-
fromJson
-
fromJson
-
findJsonField
-
findJsonFields
-
findJsonField
-
findJsonFields
-
findNameField
-
findNameField
-
findJsonModel
-
findJsonTitle
-
evalJsonValue
-
isJsonReference
-
isJsonCollection
-
isJsonCustomReference
-
isJsonCustomCollection
-