A lax Web news feed parser
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

33 lines
845 B

[
{
"description": "Content-Type mismatch",
"type": "text/html",
"input": {"version": "https://jsonfeed.org/version/1"},
"exception": "notJSONType"
},
{
"description": "Not valid JSON 1",
"input": "{",
"exception": "notJSON"
},
{
"description": "Not valid JSON 2",
"input": "<rss><channel/></rss>",
"exception": "notJSON"
},
{
"description": "Not a JSON feed 1",
"input": "{}",
"exception": "notJSONFeed"
},
{
"description": "Not a JSON feed 2",
"input": {"version": "https://example.com/"},
"exception": "notJSONFeed"
},
{
"description": "Not a JSON feed 3",
"input": {"version": "https://jsonfeed.org/version/"},
"exception": "notJSONFeed"
}
]