- 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.
This commit is contained in:
Baptiste Lepilleur
2010-02-21 14:08:17 +00:00
parent 7a866553bb
commit 3a1b93be1c
6 changed files with 36 additions and 15 deletions

View File

@@ -157,8 +157,8 @@ namespace Json {
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 );