Class JsonUtils
Object
JsonUtils
-
Method Summary
-
Method Details
-
toJson
Serialisesobj
with the sharedObjectMapper
.- Returns:
- JSON string (never
null
) - Throws:
RuntimeException
- if Jackson fails to serialise
-
fromJson
Deserialisesjson
into the requestedtype
.- Throws:
RuntimeException
- if Jackson fails to deserialise
-