Nyx Node
|
Struct describing a JSON list. More...
#include <nyx_node.h>
Public Member Functions | |
nyx_list_t * | nyx_list_new () |
Allocates a new JSON list. | |
void | nyx_list_free (nyx_list_t *object) |
Frees memory of the provided JSON list object. | |
void | nyx_list_clear (nyx_list_t *object) |
Clears the content of the provided JSON list object. | |
void | nyx_list_del (nyx_list_t *object, int idx) |
bool | nyx_list_iterate (nyx_list_iter_t *iter, int *idx, nyx_object_t **object) |
nyx_object_t * | nyx_list_get (const nyx_list_t *object, int idx) |
__INLINE__ bool | nyx_list_push (nyx_list_t *object, buff_t value) |
size_t | nyx_list_size (const nyx_list_t *object) |
Gets the number of items in the provided JSON list object. | |
str_t | nyx_list_to_string (const nyx_list_t *object) |
Returns a string representing the provided JSON list object. | |
__INLINE__ double | nyx_list_get_number (const nyx_list_t *object, int idx) |
__INLINE__ STR_t | nyx_list_get_string (const nyx_list_t *object, int idx) |
Public Attributes | |
nyx_object_t | base |
??? | |
struct nyx_list_node_s * | head |
??? | |
struct nyx_list_node_s * | tail |
??? | |
Struct describing a JSON list.