Package com.launchdarkly.sdk.json
Helper classes and methods for interoperability with JSON.
This package provides a simple mechanism for converting SDK objects to and from JSON as a string
(JsonSerialization
), and also adapters for making the SDK types
serialize and deserialize correctly when used with Gson
(LDGson
) or Jackson (LDJackson
).
-
Interface Summary Interface Description JsonSerializable Marker interface for SDK classes that have a custom JSON serialization. -
Class Summary Class Description JsonSerialization Helper methods for JSON serialization of SDK classes.LDGson A helper class for interoperability with application code that uses Gson.LDJackson A helper class for interoperability with application code that uses Jackson. -
Exception Summary Exception Description SerializationException General exception class for all errors in serializing or deserializing JSON.