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

Struct describing a JSON boolean object. More...

#include <nyx_node.h>

Collaboration diagram for nyx_boolean_t:

Public Member Functions

nyx_boolean_tnyx_boolean_new (void)
 Allocates a new JSON boolean object.
 
void nyx_boolean_free (nyx_boolean_t *object)
 Frees memory of the provided JSON boolean object.
 
bool nyx_boolean_get (const nyx_boolean_t *object)
 Get the value of the provided JSON boolean object.
 
bool nyx_boolean_set (nyx_boolean_t *object, bool value)
 Set the value of the provided JSON boolean object.
 
str_t nyx_boolean_to_string (const nyx_boolean_t *object)
 Returns a string representing the provided JSON boolean object.
 
__NYX_INLINE__ nyx_boolean_tnyx_boolean_from (bool value)
 Returns a JSON boolean object holding the value of the provided argument.
 

Data Fields

nyx_object_t base
 Common object header for JSON objects.
 
bool value
 Boolean payload.
 

Detailed Description

Struct describing a JSON boolean object.

Definition at line 794 of file nyx_node.h.

Field Documentation

◆ base

nyx_object_t nyx_boolean_t::base

Common object header for JSON objects.

Definition at line 796 of file nyx_node.h.

◆ value

bool nyx_boolean_t::value

Boolean payload.

Definition at line 798 of file nyx_node.h.


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