예제 #1
0
std::string JSON::stringify(const Variant & root, JSON::OutputMode outputMode)
{
    std::stringstream stream;
    jsonStringify(stream, root, outputMode == Beautify, "");
    return stream.str();
}
예제 #2
0
void JSON::stringify(std::ostream & stream, const Variant & root, JSON::OutputMode outputMode)
{
    jsonStringify(stream, root, outputMode == Beautify, "");
}
예제 #3
0
파일: JSON.cpp 프로젝트: Beta-Alf/cppexpose
std::string JSON::stringify(const Variant & root, JSON::OutputMode outputMode)
{
    return jsonStringify(root, outputMode == Beautify, "");
}