Nyx Node
Loading...
Searching...
No Matches
JSON ↔ XML

Functions

__NYX_NULLABLE__ nyx_object_tnyx_xmldoc_to_object (__NYX_NULLABLE__ const nyx_xmldoc_t *xmldoc)
 Converts an XML Nyx / INDI command to the JSON one.
 
__NYX_NULLABLE__ nyx_xmldoc_tnyx_object_to_xmldoc (__NYX_NULLABLE__ const nyx_object_t *object)
 Converts a JSON Nyx / INDI command to the XML one.
 

Detailed Description

JSON ↔ XML Nyx / INDI commands (not available on ARDUINO).

Function Documentation

◆ nyx_xmldoc_to_object()

__NYX_NULLABLE__ nyx_object_t * nyx_xmldoc_to_object ( __NYX_NULLABLE__ const nyx_xmldoc_t xmldoc)

Converts an XML Nyx / INDI command to the JSON one.

Parameters
xmldocXML Nyx / INDI command.
Returns
The corresponding JSON Nyx / INDI command.

◆ nyx_object_to_xmldoc()

__NYX_NULLABLE__ nyx_xmldoc_t * nyx_object_to_xmldoc ( __NYX_NULLABLE__ const nyx_object_t object)

Converts a JSON Nyx / INDI command to the XML one.

Parameters
objectJSON Nyx / INDI command.
Returns
The corresponding XML Nyx / INDI command.