2 #include <ossia/detail/json.hpp>
4 #include <ossia/network/exceptions.hpp>
6 namespace ossia::oscquery
8 inline void json_assert(
bool val)
17 struct json_parser_impl
19 static bool ReadValue(
const rapidjson::Value& val, int32_t& res);
20 static bool ReadValue(
const rapidjson::Value& val,
float& res);
21 static bool ReadValue(
const rapidjson::Value& val,
double& res);
22 static bool ReadValue(
const rapidjson::Value& val, std::string& res);
23 static bool ReadValue(
const rapidjson::Value& val,
bool& res);
27 static bool ReadValue(
29 static bool ReadValue(
const rapidjson::Value& val,
ossia::unit_t& res);
33 static ossia::value ReadValue(
const rapidjson::Value& val);
37 static void readParameter(net::node_base& node,
const rapidjson::Value& obj);
43 using val_t = rapidjson::Value;
The node_base class.
Definition: network/base/node.hpp:48
The value class.
Definition: value.hpp:173
repetition_filter
If enabled, sending twice the same value will only send it once by network.
Definition: parameter_properties.hpp:70
bounding_mode
Address behaviors at crossing domain boundaries.
Definition: parameter_properties.hpp:56
access_mode
Address behaviors at crossing domain boundaries time.
Definition: parameter_properties.hpp:46
std::vector< std::string > tags
Tags applied to a node: {"model", "interesting", ...}.
Definition: node_attributes.hpp:71
Used when a bad network request is done on a local server.
Definition: network/exceptions.hpp:72
domain A domain of values
Definition: domain_base.hpp:23
How many instances a node can have.
Definition: node_attributes.hpp:36
Definition: dataspace.hpp:24