Giri's C++ Support Library
C++ library providing everything you need to quickly create awesome applications.
|
Namespace containing all JSON related stuff. More...
Namespaces | |
parsers | |
Collection of functions used to parse json strings and json substrings. | |
utility | |
Collection of helper functions and objects. | |
Classes | |
struct | error_category |
Error category object used to convert the error code to a understandable message via std::error_code. More... | |
class | JSON |
Class to represent and use JSON objects. Class may throw exceptions of type std::error_code on error. More... | |
Enumerations | |
enum class | error { float_conversion_failed_invalid_arg = 42 , float_conversion_failed_out_of_range , float_conversion_failed , object_missing_colon , object_missing_comma , array_missing_comma_or_bracket , string_missing_hex_char , string_conversion_failed , string_unescaped_conversion_failed , number_missing_exponent , number_unexpected_char , number_conversion_failed , bool_wrong_text , bool_conversion_failed , null_wrong_text , unknown_starting_char } |
Enum class to identify parsing and conversion errors. | |
Functions | |
std::error_code | make_error_code (json::error e) noexcept |
JSON | Array () |
template<typename... T> | |
JSON | Array (T... args) |
JSON | Object () |
std::ostream & | operator<< (std::ostream &os, const JSON &json) |
Namespace containing all JSON related stuff.
|
inlinenoexcept |
This overload makes giri::json::error assignable to std::error_code
e | giri::json::error to construct a std::error_code for. |