f7ac263
--- a/json_value.cpp
f7ac263
+++ b/json_value.cpp
f7ac263
@@ -666,6 +666,7 @@ Value::asString() const
f7ac263
    case booleanValue:
f7ac263
       return value_.bool_ ? "true" : "false";
f7ac263
    case intValue:
f7ac263
+      return valueToString( value_.int_ );
f7ac263
    case uintValue:
f7ac263
    case realValue:
f7ac263
    case arrayValue:
f7ac263
@@ -1423,14 +1424,14 @@ Value::isString() const
f7ac263
 bool 
f7ac263
 Value::isArray() const
f7ac263
 {
f7ac263
-   return type_ == nullValue  ||  type_ == arrayValue;
f7ac263
+   return type_ == arrayValue;
f7ac263
 }
f7ac263
 
f7ac263
 
f7ac263
 bool 
f7ac263
 Value::isObject() const
f7ac263
 {
f7ac263
-   return type_ == nullValue  ||  type_ == objectValue;
f7ac263
+   return type_ == objectValue;
f7ac263
 }
f7ac263
 
f7ac263