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

Classes

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.
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.


Class Documentation

◆ nyx_null_t

struct nyx_null_t

Struct describing a JSON null object.

Definition at line 679 of file nyx_node.h.

Collaboration diagram for nyx_null_t:

Public Member Functions

nyx_null_tnyx_null_new (void)
 Allocates a new JSON null object.
str_t nyx_null_to_string (const nyx_null_t *object)
 Returns a string representing the provided JSON null object.

Public Attributes

nyx_object_t base
 Common object header for JSON objects.

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_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 with nyx_memory_free.