losing data from table
Posted: Thu Dec 18, 2025 12:32 pm
Hi all
I have a (for me) mistery:
I define some classes with all export variables.
Some are of type 'another class', some are arrays of 'other classes' (or strings)
I declare a variable of the top class and
I use Jsonconvert.Deserialize to fill the variable with data that comes from internet in Json format.
So far, everything works, I get my data in the structured way as I designed it.
But
If I pass that variable to a method to process it, some of the data disappeares.
For some of the arrays, I get (in the debugger) the message that the item is "not available"
It stil knows how many items are in the array, but there is no data available.
I suppose it has to do with protected memory or so, but I have no clue how to tackle this.
so, all help is welcome.
thanks
I have a (for me) mistery:
I define some classes with all export variables.
Some are of type 'another class', some are arrays of 'other classes' (or strings)
I declare a variable of the top class and
I use Jsonconvert.Deserialize to fill the variable with data that comes from internet in Json format.
So far, everything works, I get my data in the structured way as I designed it.
But
If I pass that variable to a method to process it, some of the data disappeares.
For some of the arrays, I get (in the debugger) the message that the item is "not available"
It stil knows how many items are in the array, but there is no data available.
I suppose it has to do with protected memory or so, but I have no clue how to tackle this.
so, all help is welcome.
thanks