From 40388494bd88cd2b84772bf55b0b3086e63ba4e2 Mon Sep 17 00:00:00 2001 From: Baptiste Lepilleur Date: Sun, 1 May 2011 20:50:44 +0000 Subject: [PATCH] Release test-0.6.0 --- doc/roadmap.dox | 12 +----------- include/json/reader.h | 4 +++- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/doc/roadmap.dox b/doc/roadmap.dox index 1ec0ab6..c7f14d5 100644 --- a/doc/roadmap.dox +++ b/doc/roadmap.dox @@ -1,14 +1,4 @@ /*! \page roadmap JsonCpp roadmap - \section ms_64bits Adds support for 64 bits integer - There has been many request to add support for 64 bits integer. Use case for this are: - - time is nowdays commonly represented with a 64 bits integer - - 64 bits integer are frequently used as primary key id in many systems - - Plans to add support is: - - must be optional, a configuration option since not all platforms provides 64 bits integer types. - - move definition of Int and UInt from forwards.h to config.h, with the required platform magic. - - C++ defines no standard to define 64 bits integer. Rely on msvc extension, and long long type that - is widely supported. \section ms_release Makes JsonCpp ready for release - Build system clean-up: - Fix build on Windows (shared-library build is broken) @@ -34,7 +24,7 @@ Some typical use-case involve an application specific structure to/from a JSON document. - Event base parser to allow unserializing a Json document directly in datastructure instead of using the intermediate Json::Value. - - "Stream" based parser to serialized a Json document without using Json::Value as input. + - Stream based parser to serialized a Json document without using Json::Value as input. - Performance oriented parser/writer: - Provides an event based parser. Should allow pulling & skipping events for ease of use. - Provides a JSON document builder: fast only. diff --git a/include/json/reader.h b/include/json/reader.h index 13de15c..5e4c32a 100644 --- a/include/json/reader.h +++ b/include/json/reader.h @@ -51,7 +51,9 @@ namespace Json { bool collectComments = true ); /** \brief Read a Value from a JSON document. - * \param document UTF-8 encoded string containing the document to read. + * \param beginDoc Pointer on the beginning of the UTF-8 encoded string of the document to read. + * \param endDoc Pointer on the end of the UTF-8 encoded string of the document to read. + \ Must be >= beginDoc. * \param root [out] Contains the root value of the document if it was * successfully parsed. * \param collectComments \c true to collect comment and allow writing them back during