Class LdValueType
Describes the type of a JSON value.
Inheritance
System.Object
LdValueType
Namespace: LaunchDarkly.Sdk
Assembly: LaunchDarkly.CommonSdk.dll
Syntax
public sealed class LdValueType : Enum
Fields
Array
The value is an array.
Declaration
public const LdValueType Array
Field Value
Type | Description |
---|---|
LdValueType |
Bool
The value is a boolean.
Declaration
public const LdValueType Bool
Field Value
Type | Description |
---|---|
LdValueType |
Null
The value is null.
Declaration
public const LdValueType Null
Field Value
Type | Description |
---|---|
LdValueType |
Number
The value is numeric. JSON does not have separate types for int and float, but you can convert to either.
Declaration
public const LdValueType Number
Field Value
Type | Description |
---|---|
LdValueType |
Object
The value is an object (a.k.a. hash or dictionary).
Declaration
public const LdValueType Object
Field Value
Type | Description |
---|---|
LdValueType |
String
The value is a string.
Declaration
public const LdValueType String
Field Value
Type | Description |
---|---|
LdValueType |
value__
Declaration
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |