Merge pull request #33 from syvex/JSONParse64

Fix JSON Parser to handle 64-bit integers (Issue #32)
This commit is contained in:
Aleksandar Fabijanic
2012-12-13 20:02:46 -08:00
5 changed files with 72 additions and 11 deletions

View File

@@ -105,8 +105,13 @@ public:
virtual std::string asString() const;
/// Returns a string representation of the token.
#if defined(POCO_HAVE_INT64)
virtual Int64 asInteger() const;
/// Returns a 64-bit integer representation of the token.
#else
virtual int asInteger() const;
/// Returns an integer representation of the token.
#endif
virtual double asFloat() const;
/// Returns a floating-point representation of the token.