Home » U++ Library support » U++ Core » Jsonize problem with Null
Jsonize problem with Null [message #36166] |
Tue, 08 May 2012 11:17 ![Go to next message Go to next message](theme/default/images/down.png) |
![](https://www.ultimatepp.org/forums/images/custom_avatars/648.jpg) |
koldo
Messages: 3372 Registered: August 2008
|
Senior Veteran |
|
|
Hello Mirek
This problem launches a NEVER() in ValueType:
Vector<Value> a, b;
a.Add();
String json = StoreAsJson(a);
LoadFromJson(b, json);
json String is set to "[null]".
It seems that while StoreAsJson() can save Vectors with Nulls, LoadFromJson() is reluctant to them.
Best regards
Iñaki
|
|
|
|
|
|
|
|
|
|
|
Goto Forum:
Current Time: Sat Jun 15 19:59:46 CEST 2024
Total time taken to generate the page: 0.00823 seconds
|