Nyx Node
Loading...
Searching...
No Matches
nyx_object_t Struct Reference

Struct describing a JSON object. More...

#include <nyx_node.h>

Public Member Functions

__NYX_NULLABLE__ nyx_object_tnyx_object_parse_buff (__NYX_ZEROABLE__ size_t size, __NYX_NULLABLE__ BUFF_t buff)
 Parses a JSON object from a string buffer.
 
__NYX_NULLABLE__ nyx_object_tnyx_object_parse (__NYX_NULLABLE__ STR_t string)
 Parses a JSON object from a C string.
 
void nyx_object_free (__NYX_NULLABLE__ nyx_object_t *object)
 Frees memory of the provided JSON object.
 
bool nyx_object_equal (__NYX_NULLABLE__ const nyx_object_t *object1, __NYX_NULLABLE__ const nyx_object_t *object2)
 Compares two JSON objects.
 
str_t nyx_object_to_string (__NYX_NULLABLE__ const nyx_object_t *object)
 Returns a string, with special character escaping, representing the provided JSON object.
 
str_t nyx_object_to_cstring (__NYX_NULLABLE__ const nyx_object_t *object)
 Returns a C string, without special character escaping, representing the provided JSON object.
 

Detailed Description

Struct describing a JSON object.


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