Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jeswin
Visitor

Search through JSON

Hi,

Can we use queries to search through parsed JSON?

For Example:
m.pJson = { "shows" :  { free_shows : [ { "id" : 121, "title" : "xyz" }, { "id" : 122, "title" : "abc" }, { "id" : 123, "title" : "rst" } ] }  }


from this i want to search free_shows where title is abc without using loop.
is it possible?
because for deep linking i can't search through json using for loop, it will take time to search over 100 or above shows or episodes
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.