Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » Jsonize problem with Null
Re: Jsonize problem with Null [message #36167 is a reply to message #36166] Tue, 08 May 2012 12:25 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13980
Registered: November 2005
Ultimate Member
koldo wrote on Tue, 08 May 2012 05:17

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.


Weird, tried, unable to reproduce (in Linux 64 bit). And I do not even see the reason in the code.

What is your setup?
 
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 May 14 06:27:12 CEST 2024

Total time taken to generate the page: 0.02144 seconds