Menu

Code Commit Log


Commit Date  
[r158] by blep

Fixed latest readme.txt url.

2011-05-01 15:09:16 Tree
[r157] by blep

Fixed url for scons 1.2 download. Clarify manual test run executable path.

2011-05-01 15:06:40 Tree
[r156] by blep

Major rework of 64 integer support: 64 bits integer are only returned when explicitly request via Json::Value::asInt64(), unlike previous implementation where Json::Value::asInt() returned a 64 bits integer.

This eases porting portable code and does not break compatibility with the previous release.

Json::Value::asLargestInt() has also be added to ease writing portable code independent of 64 bits integer support. It is typically used to implement writers.

2010-12-27 17:45:23 Tree
[r155] by blep

Fixed some documentation issues pointed out by Daniel.

2010-12-24 19:58:23 Tree
[r154] by blep

Added float Json::Value::asFloat() to obtain a floating point value as a float (avoid lost of precision warning caused by used of asDouble() to initialize a float).

2010-12-24 19:30:06 Tree
[r153] by blep

- Array index can be passed as int to operator[], allowing use of literal:
Json::Value array;
array.append( 1234 );
int value = array[0].asInt(); // did not compile previously

2010-12-24 12:47:14 Tree
[r152] by blep

updated license with clearer information

2010-04-27 16:38:30 Tree
[r151] by blep

- added unit test and roadmap for handling of escape sequence "\/"

2010-04-27 16:37:50 Tree
[r150] by blep

JsonCpp is now licensed under MIT license, or public domain if desired and recognized in your jurisdiction.

2010-04-20 21:35:19 Tree
[r149] by blep

- Moved definition of Json::Int and Json::UInt to config.h which compiler detection logic to define them to 64 bits integer if JSON_NO_INT64 is not defined.
- Added Json::ArrayIndex as an unsigned int to forwards.h
- Modified Json::Value to consistently use Json::ArrayIndex.
- Added int/unsigned int constructor overload to Json::Value to avoid ambiguous constructor call.
- Modified jsontestrunner/main.cpp to use Json::valueToString for Value::asInt() conversion to string.
- Modified Json::Reader to only overflow to double when the number is too large (previous code relied on the fact that an int fitted in a double without precision loss).
- Generalized uintToString() helpers and buffer size to automatically adapt to the precision of Json::UInt.
- Added specific conversion logic for UInt to double conversion on Microsoft Visual Studio 6 which only support __int64 to double conversion (unsigned __int64 conversion is not supported)
- Added test for 64 bits parsing/writing. Notes: those will fail when compiled with JSON_NO_INT64 (more dev required to adapt).

2010-04-19 07:37:41 Tree
Older >
MongoDB Logo MongoDB