Roku Direct Publisher

The easiest way to create a great TV experience.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Level 7

JSON feed issue-assistance requested

I'm getting an error when I try to validate a feed.

Here is the end of the feed 

{
"name": "xxxxxx",
"playlistName": "xxxxxx",
"order": "manual"
}]
}

but when I try to validate using JSONLINT I get the following error (the final line in the feed } is highlighted):

 

Error: Parse error on line 354:
...							}]									}
----------------------^
Expecting ',', ']', got 'EOF'

  I can't figure out what I've entered incorrectly (using a macbook pro fyi).

Another site JSON formatter and validator gives me this message:

Error: Expecting closing } at end [Code 22, Structure 1230]

It seems the closing  } is there so not sure what's happening.  

Anyone know more about JSON that can help?

0 Kudos
4 Replies
Level 13

Re: JSON feed issue-assistance requested

Are you trying to define a playlist or a category?  Try removing the stray square bracket.  For reference, look at the Roku Json feed schema.

FREE Windows desktop software for creating BIF (Trick Play), Direct Publisher (MRSS, JSON), and FireTV feeds @ GitHub/rrirower. No programming knowledge required.
0 Kudos
Level 7

Re: JSON feed issue-assistance requested

Trying to define a category.  I'll take a look at the schema.

0 Kudos
Level 13

Re: JSON feed issue-assistance requested

Are you coding your feed file by hand using an editor like notepad?  If so, you run the risk of missing syntax and logic errors. There are plenty of software solutions on this forum to help you maintain your channel.

FREE Windows desktop software for creating BIF (Trick Play), Direct Publisher (MRSS, JSON), and FireTV feeds @ GitHub/rrirower. No programming knowledge required.
0 Kudos

Re: JSON feed issue-assistance requested

Usually this is due to an extra brace somewhere.

All of your objects start and end with a brace. All of your arrays of objects start and end with a bracket. If you're using a more robust text editor, you can hover over a brace or bracket and it will point out where its partner is.

0 Kudos