C Client-Side SDK
LaunchDarkly SDK
|
|
LDValueType
Definition: ldvalue.h:14
@ LDValueType_Object
Definition: ldvalue.h:42
struct LDObject * LDObject_New(void)
@ LDValueType_Number
Definition: ldvalue.h:30
void LDObject_Free(struct LDObject *obj)
struct LDArray * LDArray_New(void)
@ LDValueType_Unrecognized
Definition: ldvalue.h:18
A custom c89 boolean type.
struct LDValue * LDValue_False(void)
const char * LDValue_GetString(struct LDValue *value)
void LDArray_Free(struct LDArray *array)
struct LDValue * LDValue_True(void)
struct LDValue * LDValue_Number(double number)
struct LDValue * LDValue_OwnedString(const char *string)
unsigned int LDValue_Count(struct LDValue *value)
@ LDValueType_Null
Definition: ldvalue.h:22
void LDObject_AddConstantKey(struct LDObject *obj, const char *key, struct LDValue *value)
struct LDValue * LDValue_ParseJSON(const char *json)
struct LDIter * LDValue_GetIter(struct LDValue *value)
struct LDValue * LDValue_Clone(struct LDValue *source)
struct LDValue * LDObject_Build(struct LDObject *obj)
#define LD_EXPORT(x)
Used to ensure only intended symbols are exported in the binaries.
Definition: export.h:10
struct LDValue * LDValue_Bool(LDBoolean boolean)
@ LDArray
JSON integer indexed array.
Definition: json.h:29
char * LDValue_SerializeJSON(struct LDValue *value)
LDBoolean LDValue_Equal(struct LDValue *a, struct LDValue *b)
const char * LDIter_Key(struct LDIter *iterator)
struct LDIter * LDIter_Next(struct LDIter *iterator)
struct LDValue * LDValue_Null(void)
struct LDValue * LDValue_ConstantString(const char *string)
void LDArray_Add(struct LDArray *array, struct LDValue *value)
@ LDValueType_String
Definition: ldvalue.h:34
void LDObject_AddOwnedKey(struct LDObject *obj, const char *key, struct LDValue *value)
LDBoolean LDValue_GetBool(struct LDValue *value)
struct LDValue * LDValue_Array(struct LDArray *array)
char * LDValue_SerializeFormattedJSON(struct LDValue *value)
@ LDValueType_Bool
Definition: ldvalue.h:26
struct LDValue * LDArray_Build(struct LDArray *array)
struct LDValue * LDIter_Val(struct LDIter *iterator)
void LDValue_Free(struct LDValue *value)
@ LDObject
JSON string indexed map.
Definition: json.h:27
struct LDValue * LDValue_Object(struct LDObject *obj)
@ LDValueType_Array
Definition: ldvalue.h:38
enum LDValueType LDValue_Type(struct LDValue *value)
double LDValue_GetNumber(struct LDValue *value)
Public. Configuration of exported symbols.