hello people i have a problem , i have a api answer with json.
I know how to load elemets in a list with the look up pairs key block.
and i know how to use it if the pair is in a sublist in the element.
But there is a problem if you have a json tree with multible elements and sublists which have the pairs in the sublist. If you have a pair and the pair is null than you get a error.
Here you can see that there are some elements from 0 to 20.
if you open a element you see the different items (pairs ) inside.
You have also a sublist with the name coin. and that sublist coin have the pair Website.
normal you have the website like www.google.com
but sometime you dont have a website because this elememt have no website
than you have a written null there like that.
or you dont have the sublist coin inside.
here is my question.
If there is a null in the pair website i get each time a error cannot lok up pairs key.
or you dont have the sublist coin because that event is not a coin and so you dont have the infos for the coin
than i get also the error cannot lookup pairs key.
What can i do now that i can load in the list because if you dont have the sublist coin or you have a null in the pair website you get each time a error.
normaly i work with that and this works but only if in each element i the json tree are that pairs what you wantl
I tried to work with that
and this does not work in all way that i tried.
I worked now since more as a day to solve that problem but i havent solved the problem for me.
i asked also a team member which explained me thow its works to load pairs in a list.
But as i said if one element in the json tree does not have the sublist coin or the website pair is null you get errors.
Please can a person help e with that.
the solution if a person needs it!