Class LdJsonConverters
Low-level JSON custom serializations for SDK types.
Inherited Members
Namespace: LaunchDarkly.Sdk.Json
Assembly: LaunchDarkly.CommonSdk.dll
Syntax
public static class LdJsonConverters
Remarks
Applications normally will not need to reference these types; they are used automatically
when you call LdJsonSerialization methods (or System.Text.Json
methods, if that API is available). They are included here for use by other LaunchDarkly
library code.
Some of these converters also have ReadJsonValue
and WriteJsonValue
methods.
The reason for this is that the object
type used by the regular converter methods
causes boxing/unboxing conversions if the target type is a struct
, and if the
overhead of these is a concern it is more efficient to call a strongly typed method.