Nyx Node
Loading...
Searching...
No Matches

Struct describing a JSON dict. More...

#include <nyx_node.h>

Collaboration diagram for nyx_dict_t:

Public Member Functions

nyx_dict_tnyx_dict_new ()
 Allocates a new JSON dict object.
 
void nyx_dict_free (nyx_dict_t *object)
 Frees memory of the provided JSON dict object.
 
void nyx_dict_clear (nyx_dict_t *object)
 Clears the content of the provided JSON dict object.
 
void nyx_dict_del (nyx_dict_t *object, STR_t key)
 
bool nyx_dict_iterate (nyx_dict_iter_t *iter, STR_t *key, nyx_object_t **object)
 
nyx_object_tnyx_dict_get (const nyx_dict_t *object, STR_t key)
 
__INLINE__ bool nyx_dict_set (nyx_dict_t *object, STR_t key, buff_t value)
 
size_t nyx_dict_size (const nyx_dict_t *object)
 Gets the number of items in the provided JSON dict object.
 
str_t nyx_dict_to_string (const nyx_dict_t *object)
 Returns a string representing the provided JSON dict object.
 
__INLINE__ double nyx_dict_get_number (const nyx_dict_t *object, STR_t key)
 
__INLINE__ STR_t nyx_dict_get_string (const nyx_dict_t *object, STR_t key)
 

Public Attributes

nyx_object_t base
 ???
 
struct nyx_dict_node_s * head
 ???
 
struct nyx_dict_node_s * tail
 ???
 

Detailed Description

Struct describing a JSON dict.


The documentation for this struct was generated from the following file: