diff --git a/json/json_value.cpp b/json/json_value.cpp index f418af26d0..41d98787f6 100644 --- a/json/json_value.cpp +++ b/json/json_value.cpp @@ -9,6 +9,9 @@ # include #endif #include // size_t + +#include + #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(value_.int_); case uintValue: case realValue: case arrayValue: