20#ifndef JSON_HELPERS_HPP
21#define JSON_HELPERS_HPP
25#include <nlohmann/json.hpp>
35 const std::string &key);
57[[maybe_unused]] nlohmann::json
59 const uint8_t arr_size);
70[[maybe_unused]] nlohmann::json
72 const uint8_t arr_size);
bool get_bool_from_json(nlohmann::json &jsn, const std::string &key)
Converts json payload (either boolean, string or integer) to bool value. This function is used becaus...
nlohmann::json add_transitions_to_json_obj(const TransitionType *data_array, const uint8_t arr_size)
The pointer to array of "TransitionType" structs couldn't be automatically converted to nlohmann::jso...
bool get_bool_from_json_array(nlohmann::json &jsn, size_t index)
Converts json array element (either boolean, string or integer) to bool value.
nlohmann::json add_extension_field_to_json_obj(const SExtensionFieldSetList *data_array, const uint8_t arr_size)
The pointer to array of "SExtensionFieldSetList" structs couldn't be automatically converted to nlohm...
Definition: zap-types.h:2264
Definition: zap-types.h:2287