It is currently 2 March 2021, 17:42 Advanced search

JSON string to IMDB

Questions and answers on how to best use Instant Developer

JSON string to IMDB

Postby john w » 17 December 2020, 15:38

I have a correctly formatted JSON string. I want to load it into something like an IMDB so I can query for specific items.

I have not been able to find the correct process or code syntax to make this happen.

Anyone have a suggestion?

Thanks!
Regards

John W
User avatar
john w
 
Posts: 629
Joined: 24 October 2012, 16:29
Location: Apple Valley, Minnesota USA

Re: JSON string to IMDB

Postby ljwilson » 17 December 2020, 16:08

Does this help?

[How-To] Using DO Classes to read/write JSON
https://forum.instantdeveloper.com/viewtopic.php?f=7&t=87018&p=162085

...jack
ljwilson
 
Posts: 559
Joined: 26 November 2013, 14:15

Re: JSON string to IMDB

Postby john w » 17 December 2020, 17:18

Jack helped me find the answer. I needed to create an object using JSON.Parse and then I could load (cast) the object into a IDMap. It worked. Since I wanted an in-memory only solution this is a nice fit.

I will say it is not something I would have looked at until Jack pointed me that way. After that, all is good, at least for the moment. On to the next issue...
Regards

John W
User avatar
john w
 
Posts: 629
Joined: 24 October 2012, 16:29
Location: Apple Valley, Minnesota USA


Return to Tips & Tricks

Who is online

Users browsing this forum: No registered users and 10 guests