Template Function jwt::write

Function Documentation

template<typename T>
std::ostream &jwt::write(std::ostream &os, const T &obj, bool pretty)

Writes the object of instance T in JSON format to standard output stream. The requirements on type T is same as that for to_json_str API.