Re: [Cppcms-users] Small issues in cppcms 1.x.x
Brought to you by:
artyom-beilis
From: Artyom <art...@ya...> - 2010-03-31 17:51:36
|
Hello, > > 3) Json parser. The json parser fail to parse a simple > string. I expect > that the following code snippet print "ok", but I get > "err". > > string json_str("\"Hello > World\"); > cppcms::json::value v; > stringstream ss; > ss << json_str; > > v.load(ss,true); > if( v.type() == > cppcms::json::is_string ) { > cout > << "ok" << endl; > } > else if (v.type() == > cppcms::json::is_undefined ) { > cout > << "err" << endl; > } > This issue was fixed in trunk among some other JSON issues. Now values are correctly handled according to JSON specifications. Artyom |