An ugly temporary fix to handling integers in the RPC parameters.

This commit is contained in:
JoelKatz
2012-07-19 08:31:27 -07:00
parent 71e499a421
commit e724dcbee8

View File

@@ -9,6 +9,9 @@
# include <cpptl/conststring.h>
#endif
#include <cstddef> // size_t
#include <boost/lexical_cast.hpp>
#ifndef JSON_USE_SIMPLE_INTERNAL_ALLOCATOR
# include "json_batchallocator.h"
#endif // #ifndef JSON_USE_SIMPLE_INTERNAL_ALLOCATOR
@@ -693,6 +696,7 @@ Value::asString() const
case booleanValue:
return value_.bool_ ? "true" : "false";
case intValue:
return boost::lexical_cast<std::string>(value_.int_);
case uintValue:
case realValue:
case arrayValue: