Show / Hide Table of Contents

Class LdJsonConverters.LdValueConverter

The JSON converter for LdValue.

Inheritance
System.Object
LdJsonConverters.LdValueConverter
Namespace: LaunchDarkly.Sdk.Json
Assembly: LaunchDarkly.CommonSdk.dll
Syntax
public sealed class LdValueConverter : JsonConverter<LdValue>

Constructors

LdValueConverter()

Declaration
public LdValueConverter()

Methods

Read(ref Utf8JsonReader, Type, JsonSerializerOptions)

Declaration
public override LdValue Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Parameters
Type Name Description
System.Text.Json.Utf8JsonReader reader
System.Type typeToConvert
System.Text.Json.JsonSerializerOptions options
Returns
Type Description
LdValue

ReadJsonValue(ref Utf8JsonReader)

Declaration
public static LdValue ReadJsonValue(ref Utf8JsonReader reader)
Parameters
Type Name Description
System.Text.Json.Utf8JsonReader reader
Returns
Type Description
LdValue

Write(Utf8JsonWriter, LdValue, JsonSerializerOptions)

Declaration
public override void Write(Utf8JsonWriter writer, LdValue value, JsonSerializerOptions options)
Parameters
Type Name Description
System.Text.Json.Utf8JsonWriter writer
LdValue value
System.Text.Json.JsonSerializerOptions options

WriteJsonValue(LdValue, Utf8JsonWriter)

Declaration
public static void WriteJsonValue(LdValue value, Utf8JsonWriter writer)
Parameters
Type Name Description
LdValue value
System.Text.Json.Utf8JsonWriter writer
In This Article
Back to top Generated by DocFX