U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Core » Jsonize problem with Null
Jsonize problem with Null [message #36166] Tue, 08 May 2012 11:17 Go to previous message
koldo is currently offline  koldo
Messages: 3464
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
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Read CSV Line (Solved)
Next Topic: Custom array Jsonize
Goto Forum:
  


Current Time: Tue Nov 24 18:01:50 GMT+1 2026

Total time taken to generate the page: 0.03986 seconds