Package com.launchdarkly.sdk.json
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
).
-
ClassDescriptionMarker interface for SDK classes that have a custom JSON serialization.Helper methods for JSON serialization of SDK classes.A helper class for interoperability with application code that uses Gson.A helper class for interoperability with application code that uses Jackson.General exception class for all errors in serializing or deserializing JSON.