You can subscribe to this list here.
| 2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(5) |
Nov
(5) |
Dec
(1) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2010 |
Jan
|
Feb
(4) |
Mar
(1) |
Apr
(10) |
May
|
Jun
(1) |
Jul
|
Aug
(1) |
Sep
(4) |
Oct
|
Nov
|
Dec
|
| 2011 |
Jan
(1) |
Feb
(1) |
Mar
(2) |
Apr
|
May
(30) |
Jun
(3) |
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
| 2012 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2013 |
Jan
|
Feb
|
Mar
|
Apr
(3) |
May
|
Jun
|
Jul
(2) |
Aug
(2) |
Sep
|
Oct
(1) |
Nov
|
Dec
|
| 2014 |
Jan
|
Feb
|
Mar
|
Apr
(3) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
(1) |
| 2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
| 2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
1
|
2
|
3
|
4
|
5
|
6
|
7
|
|
8
|
9
|
10
(1) |
11
|
12
|
13
|
14
|
|
15
|
16
|
17
|
18
(1) |
19
|
20
(1) |
21
(1) |
|
22
|
23
(6) |
24
(8) |
25
(4) |
26
(5) |
27
(2) |
28
|
|
29
(1) |
30
|
31
|
|
|
|
|
|
From: Aaron J. <ja...@go...> - 2011-05-23 09:00:16
|
Hi all,
I'm working on updating Google's internal version of jsoncpp from an ancient
commit to the most recent version (SVN rev 192), but having some trouble. I
think I've run into a backwards incompatible change that makes it nearly
impossible for us to upgrade.
In particular, there's jsoncpp-using code that looks something like this:
Json::Value value = ...
unsigned int value =
value.isUInt() ? value.asUInt() :
(value.isDouble() ? value.asDouble() : kError);
That is, the code uses the isFoo methods to decide which asFoo method to call.
The problem is that at SVN rev 192, values parsed as integers greater than
2^32 will return true for isUInt(), but have an assertion failure for
asUInt():
value_.uint_ <= maxUInt
"unsigned integer out of UInt range"
You can see this by parsing the string "31121983701778432", for example.
As far as I can tell, there's no way for me to update to the latest version of
jsoncpp without either changing the code above or breaking it (introducing
incorrectness or a crasher bug into production). Updating the code is not an
option for me since there is too much of it.
Do you have any advice? In particular, am I missing something in the
Json::Value API?
Thanks,
Aaron
|
|
From: Stephan B. <sg...@go...> - 2011-05-21 09:47:13
|
On Fri, May 20, 2011 at 4:01 PM, Baptiste Lepilleur < bap...@gm...> wrote: > The easiest for you would be to ensure that all your strings are encoded > using UTF-8. This is the standard way of storing unicode string as > std::string / const char *. i can highly recommend this library for doing the conversions: http://utfcpp.sourceforge.net/ -- ----- stephan beal http://wanderinghorse.net/home/stephan/ |
|
From: Baptiste L. <bap...@gm...> - 2011-05-20 14:01:58
|
The easiest for you would be to ensure that all your strings are encoded using UTF-8. This is the standard way of storing unicode string as std::string / const char *. Baptiste. 2011/5/18 Сухенький Серафим <ad...@tr...> > Hi! > > I'm using json-cpp as an embedded database driver in my project. > Now I need to emplement unicode support. > > Could you please tell, how can I store unicode strings in Value and get > them back? > > Thanks! > > |
|
From: Сухенький С. <ad...@tr...> - 2011-05-18 09:42:25
|
Hi! I'm using json-cpp as an embedded database driver in my project. Now I need to emplement unicode support. Could you please tell, how can I store unicode strings in Value and get them back? Thanks! |
|
From: Radu B. <br...@gm...> - 2011-05-10 14:25:15
|
Hi,
I am trying to use the library on a Mac. Since it is not available via
MacPorts I am trying to build it from source.
I've downloaded the tarball ( 0.5.0 ) , and issued :
scons platform=linux-gcc
which compiles fine.
But there is no installation script via scons, or I am not aware of one.
I have tried manually copying the libraries from
libs/linux-gcc-<ver>/*.{a,dylib} into /opt/local/lib but when I run
otool on the library I get the following :
otool -L /opt/local/lib/libjson_linux-gcc-4.0.1_libmt.dylib
/opt/local/lib/libjson_linux-gcc-4.0.1_libmt.dylib:
buildscons/linux-gcc-4.0.1/src/lib_json/libjson_linux-gcc-4.0.1_libmt.dylib
(compatibility version 0.0.0, current version 0.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 111.1.6)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.4.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
Also, I tried linking my test program against it and of course it
failed at runtime since it cannot find the library.
Is there a documented way of installing the library on a Mac ?
FWIW, I have tried the same with the libraries located under
buildscons/linux-gcc ... with the same results.
Help ?
Thanks,
Radu
|