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: 
hoffmcs
Visitor

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 3
EngoTom
Visitor

Re: JSON Parser

Thanks, I'll check it out!
0 Kudos
hoffmcs
Visitor

Re: JSON Parser

I added a simple example of usage to the wiki on the site.
0 Kudos
lucasgonze
Visitor

Re: JSON Parser

Nice! Thanks for doing it.
0 Kudos