Json
object Json
A singleton for json serialization/deserialization, shared across the SDK as ObjectMapper instantiation is an expensive operation.
Serialize (stringify)
Deserialize (parse)
Example Usage:
val offering = Json.objectMapper.readValue<Offering>(payload)
val jsonString = Json.stringify(myObject)
val node = Json.parse(payload)
Content copied to clipboard