Class JsonConverterHelpers
Inheritance
JsonConverterHelpers
Assembly: LaunchDarkly.InternalSdk.dll
Syntax
public static class JsonConverterHelpers
Methods
GetIntOrNull(ref Utf8JsonReader)
Declaration
public static int? GetIntOrNull(ref Utf8JsonReader reader)
Parameters
Returns
GetLongOrNull(ref Utf8JsonReader)
Declaration
public static long? GetLongOrNull(ref Utf8JsonReader reader)
Parameters
Returns
GetTimeOrNull(ref Utf8JsonReader)
Declaration
public static UnixMillisecondTime? GetTimeOrNull(ref Utf8JsonReader reader)
Parameters
Returns
RequireArray(ref Utf8JsonReader)
Declaration
public static JsonConverterHelpers.ArrayHelper RequireArray(ref Utf8JsonReader reader)
Parameters
Returns
RequireArrayOrNull(ref Utf8JsonReader)
Declaration
public static JsonConverterHelpers.ArrayHelper RequireArrayOrNull(ref Utf8JsonReader reader)
Parameters
Returns
RequireObject(ref Utf8JsonReader)
Declaration
public static JsonConverterHelpers.ObjectHelper RequireObject(ref Utf8JsonReader reader)
Parameters
Returns
RequireObjectOrNull(ref Utf8JsonReader)
Declaration
public static JsonConverterHelpers.ObjectHelper RequireObjectOrNull(ref Utf8JsonReader reader)
Parameters
Returns
RequireTokenType(ref Utf8JsonReader, JsonTokenType)
Declaration
public static void RequireTokenType(ref Utf8JsonReader reader, JsonTokenType expectedType)
Parameters
WriteBooleanIfTrue(Utf8JsonWriter, string, bool)
Declaration
public static void WriteBooleanIfTrue(Utf8JsonWriter w, string name, bool value)
Parameters
WriteIntIfNotNull(Utf8JsonWriter, string, int?)
Declaration
public static void WriteIntIfNotNull(Utf8JsonWriter w, string name, int? value)
Parameters
WriteJsonAsString(Action<Utf8JsonWriter>)
Declaration
public static string WriteJsonAsString(Action<Utf8JsonWriter> action)
Parameters
Returns
WriteLdValue(Utf8JsonWriter, string, LdValue)
Declaration
public static void WriteLdValue(Utf8JsonWriter w, string name, LdValue value)
Parameters
WriteLdValueIfNotNull(Utf8JsonWriter, string, LdValue)
Declaration
public static void WriteLdValueIfNotNull(Utf8JsonWriter w, string name, LdValue value)
Parameters
WriteStringIfNotNull(Utf8JsonWriter, string, string)
Declaration
public static void WriteStringIfNotNull(Utf8JsonWriter w, string name, string value)
Parameters
WriteTimeIfNotNull(Utf8JsonWriter, string, UnixMillisecondTime?)
Declaration
public static void WriteTimeIfNotNull(Utf8JsonWriter w, string name, UnixMillisecondTime? value)
Parameters