Nyx Node
Loading...
Searching...
No Matches
Collaboration diagram for JSON Null Object:

Data Structures

struct  nyx_null_t
 Struct describing a JSON null object. More...
 

Functions

nyx_null_tnyx_null_t::nyx_null_new (void)
 Allocates a new JSON null object.
 
void nyx_null_t::nyx_null_free (nyx_null_t *object)
 Frees memory of the provided JSON null object.
 
str_t nyx_null_t::nyx_null_to_string (const nyx_null_t *object)
 Returns a string representing the provided JSON null object.
 

Detailed Description

JSON Null Object.

Function Documentation

◆ nyx_null_new()

nyx_null_t * nyx_null_new ( void  )

Allocates a new JSON null object.

Returns
The new JSON null object.

Definition at line 12 of file json_null.c.

◆ nyx_null_free()

void nyx_null_free ( nyx_null_t object)

Frees memory of the provided JSON null object.

Parameters
objectJSON null object.

Definition at line 29 of file json_null.c.

◆ nyx_null_to_string()

str_t nyx_null_to_string ( const nyx_null_t object)

Returns a string representing the provided JSON null object.

Parameters
objectJSON null object.
Returns
A newly allocated string that represents the provided JSON null object.
Note
Must be freed.