|
MIRA_BASE_EXPORT void | write (const Value &value, std::ostream &ioStream, bool formatted=false, int precision=-1) |
| Writes a json::Value into a given stream using the JSON format. More...
|
|
MIRA_BASE_EXPORT std::string | write (const Value &value, bool formatted=false, int precision=-1) |
| Writes a json::Value into a string using the JSON format. More...
|
|
MIRA_BASE_EXPORT void | read (const std::string &s, Value &oValue) |
| Read a json::Value from a string that contains JSON format. More...
|
|
MIRA_BASE_EXPORT void | read (std::istream &ioStream, Value &oValue) |
| Read a json::Value from a stream that contains JSON format. More...
|
|
MIRA_BASE_EXPORT void | read (std::string::const_iterator &begin, std::string::const_iterator &end, Value &oValue) |
| Read a json::Value from a string iterator range that contains JSON format. More...
|
|
MIRA_BASE_EXPORT Value | getElement (const Value &iValue, const std::string &elementName) |
| Get a json::Value element/member from a json::Value Syntax: More...
|
|
MIRA_BASE_EXPORT bool | hasElement (const Value &iValue, const std::string &element) |
| Query existence of element/member in a json::Value Use this variant to only query whether the element exists, avoiding exceptions. More...
|
|
MIRA_BASE_EXPORT QueryValueResult | getElementIfExists (const Value &iValue, const std::string &elementName) |
| Get a json::Value element/member from a json::Value if it exists, otherwise the returned result will contain the error string. More...
|
|
MIRA_BASE_EXPORT double | getNumberElement (const Value &iValue, const std::string &elementName) |
| Get a number element/member from a json::Value See getElement() for basic syntax. More...
|
|
MIRA_BASE_EXPORT bool | hasNumberElement (const Value &iValue, const std::string &element) |
| Query existence of number element/member in a json::Value Use this variant to only query whether the element exists and is a number, avoiding exceptions. More...
|
|
MIRA_BASE_EXPORT QueryNumberResult | getNumberElementIfExists (const Value &iValue, const std::string &elementName) |
| Get a number element/member from a json::Value if it exists, otherwise the returned result will contain the error string. More...
|
|
template<typename OStream > |
OStream & | operator<< (OStream &os, const mira::JSONValue &value) |
|
mira::BinaryStlOstream & | operator<< (mira::BinaryStlOstream &os, const mira::JSONValue &value) |
|
mira::BinaryBufferOstream & | operator<< (mira::BinaryBufferOstream &os, const mira::JSONValue &value) |
|
template<typename IStream > |
IStream & | operator>> (IStream &is, mira::JSONValue &value) |
|
template<typename CharT > |
std::basic_stringstream< CharT > & | operator>> (std::basic_stringstream< CharT > &is, mira::JSONValue &value) |
|