Zigbee Protocol Controller 1.6.0
dotdot_mqtt_translators.h File Reference
#include <sstream>
#include <string>
#include <vector>
#include <map>
#include <nlohmann/json.hpp>
#include <zap-types.h>

Go to the source code of this file.

Functions

void from_json (const nlohmann::json &jsn, NM_StateParameters &field)
 
void to_json (nlohmann::json &jsn, const NM_StateParameters &field)
 
void from_json (const nlohmann::json &jsn, NetworkManagementState &field)
 
void to_json (nlohmann::json &jsn, const NetworkManagementState &field)
 
void from_json (const nlohmann::json &jsn, BindingObject &field)
 
void to_json (nlohmann::json &jsn, const BindingObject &field)
 
void from_json (const nlohmann::json &jsn, ConfigurationParameter &field)
 
void to_json (nlohmann::json &jsn, const ConfigurationParameter &field)
 
void from_json (const nlohmann::json &jsn, CoordinateAndOrientation &field)
 
void to_json (nlohmann::json &jsn, const CoordinateAndOrientation &field)
 
void from_json (const nlohmann::json &jsn, CredentialStruct &field)
 
void to_json (nlohmann::json &jsn, const CredentialStruct &field)
 
void from_json (const nlohmann::json &jsn, DeviceTypeStruct &field)
 
void to_json (nlohmann::json &jsn, const DeviceTypeStruct &field)
 
void from_json (const nlohmann::json &jsn, DiskIOCounters &field)
 
void to_json (nlohmann::json &jsn, const DiskIOCounters &field)
 
void from_json (const nlohmann::json &jsn, DiskUsageData &field)
 
void to_json (nlohmann::json &jsn, const DiskUsageData &field)
 
void from_json (const nlohmann::json &jsn, EstimatedPosition &field)
 
void to_json (nlohmann::json &jsn, const EstimatedPosition &field)
 
void from_json (const nlohmann::json &jsn, IasaceZoneStatusRecord &field)
 
void to_json (nlohmann::json &jsn, const IasaceZoneStatusRecord &field)
 
void from_json (const nlohmann::json &jsn, MinMaxPair &field)
 
void to_json (nlohmann::json &jsn, const MinMaxPair &field)
 
void from_json (const nlohmann::json &jsn, NetworkInterfaceData &field)
 
void to_json (nlohmann::json &jsn, const NetworkInterfaceData &field)
 
void from_json (const nlohmann::json &jsn, SExtensionFieldSetList &field)
 
void to_json (nlohmann::json &jsn, const SExtensionFieldSetList &field)
 
void from_json (const nlohmann::json &jsn, SSceneTable &field)
 
void to_json (nlohmann::json &jsn, const SSceneTable &field)
 
void from_json (const nlohmann::json &jsn, SphericalCoordinates &field)
 
void to_json (nlohmann::json &jsn, const SphericalCoordinates &field)
 
void from_json (const nlohmann::json &jsn, TransitionType &field)
 
void to_json (nlohmann::json &jsn, const TransitionType &field)
 
void from_json (const nlohmann::json &jsn, WirelessNetworkInterfaceData &field)
 
void to_json (nlohmann::json &jsn, const WirelessNetworkInterfaceData &field)
 

Function Documentation

◆ from_json() [1/18]

void from_json ( const nlohmann::json &  jsn,
BindingObject field 
)
inline

Parse BindingObject type from json object.

Parameters
jsnJSON object to parse from.
fieldfield to be populated from JSON object.

◆ from_json() [2/18]

void from_json ( const nlohmann::json &  jsn,
ConfigurationParameter field 
)
inline

Parse ConfigurationParameter type from json object.

Parameters
jsnJSON object to parse from.
fieldfield to be populated from JSON object.

◆ from_json() [3/18]

void from_json ( const nlohmann::json &  jsn,
CoordinateAndOrientation field 
)
inline

Parse CoordinateAndOrientation type from json object.

Parameters
jsnJSON object to parse from.
fieldfield to be populated from JSON object.

◆ from_json() [4/18]

void from_json ( const nlohmann::json &  jsn,
CredentialStruct field 
)
inline

Parse CredentialStruct type from json object.

Parameters
jsnJSON object to parse from.
fieldfield to be populated from JSON object.

◆ from_json() [5/18]

void from_json ( const nlohmann::json &  jsn,
DeviceTypeStruct field 
)
inline

Parse DeviceTypeStruct type from json object.

Parameters
jsnJSON object to parse from.
fieldfield to be populated from JSON object.

◆ from_json() [6/18]

void from_json ( const nlohmann::json &  jsn,
DiskIOCounters field 
)
inline

Parse DiskIOCounters type from json object.

Parameters
jsnJSON object to parse from.
fieldfield to be populated from JSON object.

◆ from_json() [7/18]

void from_json ( const nlohmann::json &  jsn,
DiskUsageData field 
)
inline

Parse DiskUsageData type from json object.

Parameters
jsnJSON object to parse from.
fieldfield to be populated from JSON object.

◆ from_json() [8/18]

void from_json ( const nlohmann::json &  jsn,
EstimatedPosition field 
)
inline

Parse EstimatedPosition type from json object.

Parameters
jsnJSON object to parse from.
fieldfield to be populated from JSON object.

◆ from_json() [9/18]

void from_json ( const nlohmann::json &  jsn,
IasaceZoneStatusRecord field 
)
inline

Parse IasaceZoneStatusRecord type from json object.

Parameters
jsnJSON object to parse from.
fieldfield to be populated from JSON object.

◆ from_json() [10/18]

void from_json ( const nlohmann::json &  jsn,
MinMaxPair field 
)
inline

Parse MinMaxPair type from json object.

Parameters
jsnJSON object to parse from.
fieldfield to be populated from JSON object.

◆ from_json() [11/18]

void from_json ( const nlohmann::json &  jsn,
NetworkInterfaceData field 
)
inline

Parse NetworkInterfaceData type from json object.

Parameters
jsnJSON object to parse from.
fieldfield to be populated from JSON object.

◆ from_json() [12/18]

void from_json ( const nlohmann::json &  jsn,
NetworkManagementState field 
)
inline

Parse NetworkManagementState type from json object.

Parameters
jsnJSON object to parse from.
fieldfield to be populated from JSON object.

◆ from_json() [13/18]

void from_json ( const nlohmann::json &  jsn,
NM_StateParameters field 
)
inline

Parse NM_StateParameters type from json object.

Parameters
jsnJSON object to parse from.
fieldfield to be populated from JSON object.

◆ from_json() [14/18]

void from_json ( const nlohmann::json &  jsn,
SExtensionFieldSetList field 
)
inline

Parse SExtensionFieldSetList type from json object.

Parameters
jsnJSON object to parse from.
fieldfield to be populated from JSON object.

◆ from_json() [15/18]

void from_json ( const nlohmann::json &  jsn,
SphericalCoordinates field 
)
inline

Parse SphericalCoordinates type from json object.

Parameters
jsnJSON object to parse from.
fieldfield to be populated from JSON object.

◆ from_json() [16/18]

void from_json ( const nlohmann::json &  jsn,
SSceneTable field 
)
inline

Parse SSceneTable type from json object.

Parameters
jsnJSON object to parse from.
fieldfield to be populated from JSON object.

◆ from_json() [17/18]

void from_json ( const nlohmann::json &  jsn,
TransitionType field 
)
inline

Parse TransitionType type from json object.

Parameters
jsnJSON object to parse from.
fieldfield to be populated from JSON object.

◆ from_json() [18/18]

void from_json ( const nlohmann::json &  jsn,
WirelessNetworkInterfaceData field 
)
inline

Parse WirelessNetworkInterfaceData type from json object.

Parameters
jsnJSON object to parse from.
fieldfield to be populated from JSON object.

◆ to_json() [1/18]

void to_json ( nlohmann::json &  jsn,
const BindingObject field 
)
inline

Build JSON object from BindingObject type.

Parameters
jsnJSON object to be populated.
fieldReference data.

◆ to_json() [2/18]

void to_json ( nlohmann::json &  jsn,
const ConfigurationParameter field 
)
inline

Build JSON object from ConfigurationParameter type.

Parameters
jsnJSON object to be populated.
fieldReference data.

◆ to_json() [3/18]

void to_json ( nlohmann::json &  jsn,
const CoordinateAndOrientation field 
)
inline

Build JSON object from CoordinateAndOrientation type.

Parameters
jsnJSON object to be populated.
fieldReference data.

◆ to_json() [4/18]

void to_json ( nlohmann::json &  jsn,
const CredentialStruct field 
)
inline

Build JSON object from CredentialStruct type.

Parameters
jsnJSON object to be populated.
fieldReference data.

◆ to_json() [5/18]

void to_json ( nlohmann::json &  jsn,
const DeviceTypeStruct field 
)
inline

Build JSON object from DeviceTypeStruct type.

Parameters
jsnJSON object to be populated.
fieldReference data.

◆ to_json() [6/18]

void to_json ( nlohmann::json &  jsn,
const DiskIOCounters field 
)
inline

Build JSON object from DiskIOCounters type.

Parameters
jsnJSON object to be populated.
fieldReference data.

◆ to_json() [7/18]

void to_json ( nlohmann::json &  jsn,
const DiskUsageData field 
)
inline

Build JSON object from DiskUsageData type.

Parameters
jsnJSON object to be populated.
fieldReference data.

◆ to_json() [8/18]

void to_json ( nlohmann::json &  jsn,
const EstimatedPosition field 
)
inline

Build JSON object from EstimatedPosition type.

Parameters
jsnJSON object to be populated.
fieldReference data.

◆ to_json() [9/18]

void to_json ( nlohmann::json &  jsn,
const IasaceZoneStatusRecord field 
)
inline

Build JSON object from IasaceZoneStatusRecord type.

Parameters
jsnJSON object to be populated.
fieldReference data.

◆ to_json() [10/18]

void to_json ( nlohmann::json &  jsn,
const MinMaxPair field 
)
inline

Build JSON object from MinMaxPair type.

Parameters
jsnJSON object to be populated.
fieldReference data.

◆ to_json() [11/18]

void to_json ( nlohmann::json &  jsn,
const NetworkInterfaceData field 
)
inline

Build JSON object from NetworkInterfaceData type.

Parameters
jsnJSON object to be populated.
fieldReference data.

◆ to_json() [12/18]

void to_json ( nlohmann::json &  jsn,
const NetworkManagementState field 
)
inline

Build JSON object from NetworkManagementState type.

Parameters
jsnJSON object to be populated.
fieldReference data.

◆ to_json() [13/18]

void to_json ( nlohmann::json &  jsn,
const NM_StateParameters field 
)
inline

Build JSON object from NM_StateParameters type.

Parameters
jsnJSON object to be populated.
fieldReference data.

◆ to_json() [14/18]

void to_json ( nlohmann::json &  jsn,
const SExtensionFieldSetList field 
)
inline

Build JSON object from SExtensionFieldSetList type.

Parameters
jsnJSON object to be populated.
fieldReference data.

◆ to_json() [15/18]

void to_json ( nlohmann::json &  jsn,
const SphericalCoordinates field 
)
inline

Build JSON object from SphericalCoordinates type.

Parameters
jsnJSON object to be populated.
fieldReference data.

◆ to_json() [16/18]

void to_json ( nlohmann::json &  jsn,
const SSceneTable field 
)
inline

Build JSON object from SSceneTable type.

Parameters
jsnJSON object to be populated.
fieldReference data.

◆ to_json() [17/18]

void to_json ( nlohmann::json &  jsn,
const TransitionType field 
)
inline

Build JSON object from TransitionType type.

Parameters
jsnJSON object to be populated.
fieldReference data.

◆ to_json() [18/18]

void to_json ( nlohmann::json &  jsn,
const WirelessNetworkInterfaceData field 
)
inline

Build JSON object from WirelessNetworkInterfaceData type.

Parameters
jsnJSON object to be populated.
fieldReference data.