Cant get my list to work
Im trying to make a WPF application for movies, where i can look up a move, and get some info.
But i cant get the JSON content into the page.
I constanly get different errors, and i cant figger this one out anymore. Even AI's are give me all kinda solutions, but end up going in circle.
This is my MovieViewModel.cs:
This is the JSON content:
But i keep getting error:
System.NullReferenceException: 'Object reference not set to an instance of an object.'
Im lost, need some help, plz4 Replies
what makes you think
APIsearchResault.Search
is valid based on that json resultthougth it was valid since it had data, buuut, i can almost guess im wrong here
Do you know how i can make the JSON work into my project, if its not valid?
where do you see a property called Search in that json object?
Oh sorry, mixed up the code. The search is in a list i made.
<MovieSearchResaults>
That goes into my MovieModel:
Thats where i get the search.