- added Int/UInt typedef in Json namespace. Modified Value::Int and Value::UInt to be typedef on those. Modified code to use Json::Int instead of Value::Int.
- added Value constructor taking begin/end pointer to initialize the Value with a non-zero terminated string.
diff --git a/include/json/writer.h b/include/json/writer.h
index cfa92c6..5f4b83b 100644
--- a/include/json/writer.h
+++ b/include/json/writer.h
@@ -157,8 +157,8 @@
bool addChildValues_;
};
- std::string JSON_API valueToString( Value::Int value );
- std::string JSON_API valueToString( Value::UInt value );
+ std::string JSON_API valueToString( Int value );
+ std::string JSON_API valueToString( UInt value );
std::string JSON_API valueToString( double value );
std::string JSON_API valueToString( bool value );
std::string JSON_API valueToQuotedString( const char *value );