AronNlohmannJSONConverter Class Reference

#include <RobotAPI/libraries/aron/converter/json/NLohmannJSONConverter.h>

Public Member Functions

 AronNlohmannJSONConverter ()=delete
 

Static Public Member Functions

static void ConvertFromNlohmannJSON (data::VariantPtr &, const nlohmann::json &, const aron::type::VariantPtr &=nullptr)
 
static data::DictPtr ConvertFromNlohmannJSONObject (const nlohmann::json &, const armarx::aron::Path &p={})
 
static nlohmann::json ConvertToNlohmannJSON (const data::VariantPtr &)
 
static void ConvertToNlohmannJSON (const data::VariantPtr &, nlohmann::json &)
 

Detailed Description

Definition at line 28 of file NLohmannJSONConverter.h.

Constructor & Destructor Documentation

◆ AronNlohmannJSONConverter()

Member Function Documentation

◆ ConvertFromNlohmannJSON()

void ConvertFromNlohmannJSON ( data::VariantPtr a,
const nlohmann::json &  e,
const aron::type::VariantPtr expectedStructure = nullptr 
)
static

Definition at line 36 of file NLohmannJSONConverter.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ConvertFromNlohmannJSONObject()

data::DictPtr ConvertFromNlohmannJSONObject ( const nlohmann::json &  j,
const armarx::aron::Path p = {} 
)
static

Definition at line 25 of file NLohmannJSONConverter.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ConvertToNlohmannJSON() [1/2]

nlohmann::json ConvertToNlohmannJSON ( const data::VariantPtr aron)
static

Definition at line 10 of file NLohmannJSONConverter.cpp.

+ Here is the caller graph for this function:

◆ ConvertToNlohmannJSON() [2/2]

void ConvertToNlohmannJSON ( const data::VariantPtr aron,
nlohmann::json &  j 
)
static

Definition at line 18 of file NLohmannJSONConverter.cpp.


The documentation for this class was generated from the following files: