JsonConverter.h
Go to the documentation of this file.
1 #pragma once
2 
3 // Base Class
4 #include "../Converter.h"
5 
6 // Simox
7 #include <SimoxUtility/json.h>
8 
10 {
12  {
13  public:
14  JsonConverter() : ObjectConverter(ConverterType::Str, "dict", ".json")
15  {
16  }
17 
18  protected:
19  ConversionResult _convert(const aron::data::DictPtr& data) final;
20  aron::data::DictPtr _convert(const ConversionResult& data,
21  const armarx::aron::Path& p) final;
22  };
23 } // namespace armarx::armem::server::ltm::processor::converter::data::object
armarx::armem::server::ltm::processor::converter::data::object::JsonConverter
Definition: JsonConverter.h:11
armarx::armem::server::ltm::processor::converter::data::ObjectConverter
Definition: Converter.h:14
armarx::armem::server::ltm::processor::converter::data::object::JsonConverter::JsonConverter
JsonConverter()
Definition: JsonConverter.h:14
armarx::aron::Path
The Path class.
Definition: Path.h:36
data
uint8_t data[1]
Definition: EtherCATFrame.h:68
armarx::aron::data::DictPtr
std::shared_ptr< Dict > DictPtr
Definition: Dict.h:41
armarx::armem::server::ltm::processor::converter::data::object
Definition: BsonConverter.cpp:8
armarx::armem::server::ltm::processor::converter::data::object::JsonConverter::_convert
ConversionResult _convert(const aron::data::DictPtr &data) final
Definition: JsonConverter.cpp:10
armarx::armem::server::ltm::processor::DataConverter::ConverterType
ConverterType
Definition: Converter.h:19