std::stringstream result_;
std::stringstream current_object_;
std::stack<std::string> nodes_stack_;
std::stringstream result_;
std::stringstream current_object_;
std::stack<std::string> nodes_stack_;
return true;
}
bool number_integer(number_integer_t val) override
{
current_object_ << std::quoted(std::to_string(val));
return true;
}
bool number_integer(number_integer_t val) override
{
current_object_ << std::quoted(std::to_string(val));
return true;
}
bool number_unsigned(number_unsigned_t val) override
{
current_object_ << std::quoted(std::to_string(val));
return true;
}
bool number_unsigned(number_unsigned_t val) override
{
current_object_ << std::quoted(std::to_string(val));
return true;
}
bool number_float(number_float_t val, const string_t& s) override
{
current_object_ << std::quoted(s);
return true;
}
bool number_float(number_float_t val, const string_t& s) override
{
current_object_ << std::quoted(s);
if (current_object_.str().empty()) close = "";
result_ << current_object_.str() << close;
if (indent_ < 0) return true;
if (current_object_.str().empty()) close = "";
result_ << current_object_.str() << close;
if (indent_ < 0) return true;