{"action":"created","issue":{"url":"https://api.github.com/repos/stedolan/jq/issues/996","labels_url":"https://api.github.com/repos/stedolan/jq/issues/996/labels{/name}","comments_url":"https://api.github.com/repos/stedolan/jq/issues/996/comments","events_url":"https://api.github.com/repos/stedolan/jq/issues/996/events","html_url":"https://github.com/stedolan/jq/issues/996","id":112213059,"number":996,"title":"Print input in case of an error","user":{"login":"m42e","id":2410802,"avatar_url":"https://avatars.githubusercontent.com/u/2410802?v=3","gravatar_id":"","url":"https://api.github.com/users/m42e","html_url":"https://github.com/m42e","followers_url":"https://api.github.com/users/m42e/followers","following_url":"https://api.github.com/users/m42e/following{/other_user}","gists_url":"https://api.github.com/users/m42e/gists{/gist_id}","starred_url":"https://api.github.com/users/m42e/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m42e/subscriptions","organizations_url":"https://api.github.com/users/m42e/orgs","repos_url":"https://api.github.com/users/m42e/repos","events_url":"https://api.github.com/users/m42e/events{/privacy}","received_events_url":"https://api.github.com/users/m42e/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-19T19:17:56Z","updated_at":"2015-10-21T20:16:21Z","closed_at":null,"body":"Can i somehow output the input data in case of an error, or at least a more detailed error output with the part of the string which is not correct?\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/stedolan/jq/issues/comments/150012554","html_url":"https://github.com/stedolan/jq/issues/996#issuecomment-150012554","issue_url":"https://api.github.com/repos/stedolan/jq/issues/996","id":150012554,"user":{"login":"pkoppstein","id":172847,"avatar_url":"https://avatars.githubusercontent.com/u/172847?v=3","gravatar_id":"","url":"https://api.github.com/users/pkoppstein","html_url":"https://github.com/pkoppstein","followers_url":"https://api.github.com/users/pkoppstein/followers","following_url":"https://api.github.com/users/pkoppstein/following{/other_user}","gists_url":"https://api.github.com/users/pkoppstein/gists{/gist_id}","starred_url":"https://api.github.com/users/pkoppstein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkoppstein/subscriptions","organizations_url":"https://api.github.com/users/pkoppstein/orgs","repos_url":"https://api.github.com/users/pkoppstein/repos","events_url":"https://api.github.com/users/pkoppstein/events{/privacy}","received_events_url":"https://api.github.com/users/pkoppstein/received_events","type":"User","site_admin":false},"created_at":"2015-10-21T20:16:21Z","updated_at":"2015-10-21T20:16:21Z","body":"@m42e - Which version of jq are you using?  I ask because jq version 1.5 gives detailed information about the location of data errors, e.g.:\r\n\r\n    parse error: Expected another array element at line 3, column 4\r\n\r\nVersion 1.5 of jq also provides filters that are very useful for debugging, notably debug/0."}}