(2012-03-30 06:45)Chip Moody Wrote: 1) Working on the most basic of controls (UI nav / transport control) and see that I need to track which player (if any) is in use. I see mention that at some point the values of 0, 1 and 2 for player type may change. What I haven't gathered is what they might change to and why?Well in the future there might be more players available than now. Currently there is DVDPlayer, PAPlayer and Slideshow but there also is a branch with a DSPlayer and maybe there will be more in the future and they may have different playerid's.
(2012-03-30 06:45)Chip Moody Wrote: 2) Since I need to parse responses to make item 1 happen, I also have to write some JSON parsing code. (One of those lucky types that doesn't have libraries available like 99% of the folk here) After looking over the JSON and JSON-RPC specs, it looks like curly braces are legitimate characters to have inside strings. So - just to be sure - aside from having to count curly braces to make sure I'm about to parse a 100% intact packet, I also need to make sure that I'm not counting any braces that might be contained in strings, right?
Correct. I would look at one of the available JSON(-RPC) library (even if it's not in the programming language you'd like to use) and try to port their parsing to your programming language.