Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Level 7

JSON Parser

I wrote a JSON parser and am open sourcing it. Feel free to use it in your channels and let me know how it works for you.

You can find it at http://bitbucket.org/chrishoffman/brightscript-json/

I have not benchmarked this against the built in XML parser. This is written in BrightScript where the XML parser is probably better integrated in the framework. If your API offers both types of feeds, keep this in mind when you are making your decision.

Known Issues

  • Unicode escaped characters are skipped since BrightScript does not support them

If you find any bugs or run into issues, add a bug to the issues tracker or fork it and let me know the changeset of the fix.

Chris
0 Kudos
3 Replies
Highlighted
Level 8

Re: JSON Parser

Thanks, I'll check it out!
0 Kudos
Highlighted
Level 7

Re: JSON Parser

I added a simple example of usage to the wiki on the site.
0 Kudos
Highlighted
Level 7

Re: JSON Parser

Nice! Thanks for doing it.
0 Kudos