diff --git a/JSON/src/Stringifier.cpp b/JSON/src/Stringifier.cpp index f908bee91..b3cc03a9d 100644 --- a/JSON/src/Stringifier.cpp +++ b/JSON/src/Stringifier.cpp @@ -55,15 +55,11 @@ void Stringifier::stringify(const Var& any, std::ostream& out, unsigned int inde { out << "null"; } - else if ( any.isString() ) + else { std::string value = any.convert(); formatString(value, out); } - else - { - out << any.convert(); - } }