コード例 #1
0
ファイル: JSON.cpp プロジェクト: cginternals/cppexpose
std::string JSON::stringify(const Variant & root, JSON::OutputMode outputMode)
{
    std::stringstream stream;
    jsonStringify(stream, root, outputMode == Beautify, "");
    return stream.str();
}
コード例 #2
0
ファイル: JSON.cpp プロジェクト: cginternals/cppexpose
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, "");
}