You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello
In first place sorry if it is wrong place to ask for support. But I don't find any links to groups nor mainling list nor forum.
I write unit test form my Settings class (Json based). I have generated Json file (by my Settings class) and I want manually check if it contains all data I wrote.
File is like this:
{"Main":{"DoubleVariable":121312.340012,"IntVariable":-13300,"LLVariable":-100000013200,"ListVariable":["Dana1","Dana2","Dana3","Dana4","Dana i więcej!"],"UIntVariable":13300,"ULLVariable":100000013200,"WStringVariable":[68,97,110,101,32,105,32,119,105,281,99,101,106,33,32,105,32,119,105,281,99,101,106,32,100,97,110,121,99,104,33]}}
As you can see I try to save few types I suppose to use with my Settings class. And as you can see this Json looks good. But I must verify this by my code.
My code is:
(*i) : Dereference object under iterator I use in order to parse Json. ["Main"]["IntVariable"] : Access to the Main object and IntVariable in it. .get_to(lInt2) : Store value to int lInt2; variable.
But in this line I got exception: [json.exception.type_error.302] type must be number, but is null
Please explain to me: What I am doing wrong?
Thanks in advance and Best regards.
The text was updated successfully, but these errors were encountered:
Hello
In first place sorry if it is wrong place to ask for support. But I don't find any links to groups nor mainling list nor forum.
I write unit test form my Settings class (Json based). I have generated Json file (by my Settings class) and I want manually check if it contains all data I wrote.
File is like this:
As you can see I try to save few types I suppose to use with my Settings class. And as you can see this Json looks good. But I must verify this by my code.
My code is:
Problem is in line:
I explain this line:
(*i)
: Dereference object under iterator I use in order to parse Json.["Main"]["IntVariable"]
: Access to the Main object and IntVariable in it..get_to(lInt2)
: Store value toint lInt2;
variable.But in this line I got exception:
[json.exception.type_error.302] type must be number, but is null
Please explain to me: What I am doing wrong?
Thanks in advance and Best regards.
The text was updated successfully, but these errors were encountered: