eckit::JSON class

Public types

class Formatting

Constructors, destructors, conversion operators

JSON(std::ostream&, bool null = true)
JSON(std::ostream&, Formatting)
~JSON()

Public functions

auto operator<<(bool) -> JSON&
auto operator<<(char) -> JSON&
auto operator<<(unsigned char) -> JSON&
auto operator<<(int) -> JSON&
auto operator<<(unsigned int) -> JSON&
auto operator<<(long) -> JSON&
auto operator<<(unsigned long) -> JSON&
auto operator<<(long long) -> JSON&
auto operator<<(unsigned long long) -> JSON&
auto operator<<(float) -> JSON&
auto operator<<(double) -> JSON&
auto operator<<(const Date&) -> JSON&
auto operator<<(const Time&) -> JSON&
auto operator<<(const DateTime&) -> JSON&
auto operator<<(const ::timeval&) -> JSON&
auto operator<<(const std::string&) -> JSON&
auto operator<<(const char*) -> JSON&
template<typename T>
auto operator<<(const std::vector<T>&) -> JSON&
template<typename T>
auto operator<<(const std::set<T>&) -> JSON&
template<typename T>
auto operator<<(const std::map<std::string, T>&) -> JSON&
auto null() -> JSON&
auto startObject() -> JSON&
auto endObject() -> JSON&
auto startList() -> JSON&
auto endList() -> JSON&
auto precision(int) -> JSON&
Sets the precision for float and double (works like std::setprecision)
void raw(const char*, long)

Function documentation

void eckit::JSON::raw(const char*, long)

write raw characters into the json stream