{"action":"created","issue":{"url":"https://api.github.com/repos/stedolan/jq/issues/1119","repository_url":"https://api.github.com/repos/stedolan/jq","labels_url":"https://api.github.com/repos/stedolan/jq/issues/1119/labels{/name}","comments_url":"https://api.github.com/repos/stedolan/jq/issues/1119/comments","events_url":"https://api.github.com/repos/stedolan/jq/issues/1119/events","html_url":"https://github.com/stedolan/jq/issues/1119","id":142469249,"node_id":"MDU6SXNzdWUxNDI0NjkyNDk=","number":1119,"title":"\"parse error: Invalid numeric literal at line 1, column 9\" on what I think is valid JSON","user":{"login":"tegryan","id":3819968,"node_id":"MDQ6VXNlcjM4MTk5Njg=","avatar_url":"https://avatars1.githubusercontent.com/u/3819968?v=4","gravatar_id":"","url":"https://api.github.com/users/tegryan","html_url":"https://github.com/tegryan","followers_url":"https://api.github.com/users/tegryan/followers","following_url":"https://api.github.com/users/tegryan/following{/other_user}","gists_url":"https://api.github.com/users/tegryan/gists{/gist_id}","starred_url":"https://api.github.com/users/tegryan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tegryan/subscriptions","organizations_url":"https://api.github.com/users/tegryan/orgs","repos_url":"https://api.github.com/users/tegryan/repos","events_url":"https://api.github.com/users/tegryan/events{/privacy}","received_events_url":"https://api.github.com/users/tegryan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2016-03-21T20:57:13Z","updated_at":"2019-10-04T13:23:22Z","closed_at":"2016-03-21T22:28:02Z","author_association":"NONE","body":"I'm getting this error:\n\n\"parse error: Invalid numeric literal at line 1, column 9\"\n\nbut I think the JSON is valid.\n\nHere is the sample json:\n\n`{\"id\": 746, \"type\": \"job_template\", \"url\": \"/api/v1/job_templates/746/\", \"related\": {\"created_by\": \"/api/v1/users/2/\", \"inventory\": \"/api/v1/inventories/8/\", \"project\": \"/api/v1/projects/12696/\", \"credential\": \"/api/v1/credentials/23/\", \"last_job\": \"/api/v1/jobs/32219/\", \"next_schedule\": \"/api/v1/schedules/251/\", \"launch\": \"/api/v1/job_templates/746/launch/\", \"jobs\": \"/api/v1/job_templates/746/jobs/\", \"activity_stream\": \"/api/v1/job_templates/746/activity_stream/\", \"schedules\": \"/api/v1/job_templates/746/schedules/\"}, \"summary_fields\": {\"credential\": {\"name\": \"aws-qa\", \"description\": \"The key, for QA to run jmeter tests etc. Eventually we should get them their own key...\", \"kind\": \"ssh\", \"cloud\": false}, \"project\": {\"name\": \"master - elastichosts\", \"description\": \"Repo for all elastichosts configs\", \"status\": \"successful\"}, \"last_job\": {\"name\": \"Deploy\", \"description\": \"Description\", \"finished\": \"2016-03-21T20:33:18.339Z\", \"status\": \"successful\", \"failed\": false}, \"last_update\": {\"name\": \"Deploy\", \"description\": \"Deploy\", \"status\": \"successful\", \"failed\": false}, \"inventory\": {\"name\": \"QA\", \"description\": \"Our QA infrastructure\", \"has_active_failures\": true, \"total_hosts\": 29, \"hosts_with_active_failures\": 6, \"total_groups\": 33, \"groups_with_active_failures\": 2, \"has_inventory_sources\": true, \"total_inventory_sources\": 7, \"inventory_sources_with_failures\": 1}, \"created_by\": {\"id\": 2, \"username\": \"someone\", \"first_name\": \"Someone\", \"last_name\": \"Else\"}, \"can_copy\": true, \"can_edit\": true, \"recent_jobs\": [{\"status\": \"successful\", \"finished\": \"2016-03-21T20:33:18.339Z\", \"id\": 32219}, {\"status\": \"successful\", \"finished\": \"2016-03-21T20:21:25.589Z\", \"id\": 32217}, {\"status\": \"failed\", \"finished\": \"2016-03-21T20:06:28.094Z\", \"id\": 32215}, {\"status\": \"successful\", \"finished\": \"2016-03-21T17:25:23.170Z\", \"id\": 32209}, {\"status\": \"successful\", \"finished\": \"2016-03-15T16:50:01.540Z\", \"id\": 31761}, {\"status\": \"successful\", \"finished\": \"2016-03-15T16:43:14.388Z\", \"id\": 31758}, {\"status\": \"successful\", \"finished\": \"2016-03-15T16:23:10.750Z\", \"id\": 31753}, {\"status\": \"successful\", \"finished\": \"2016-03-10T19:43:24.518Z\", \"id\": 31539}, {\"status\": \"successful\", \"finished\": \"2016-03-10T19:13:40.928Z\", \"id\": 31535}, {\"status\": \"successful\", \"finished\": \"2016-03-10T18:54:35.355Z\", \"id\": 31530}]}, \"created\": \"2014-11-21T03:21:30.504Z\", \"modified\": \"2016-03-21T20:21:52.576Z\", \"name\": \"Description\", \"description\": \"Description\", \"job_type\": \"run\", \"inventory\": 8, \"project\": 12696, \"playbook\": \"deploy.yml\", \"credential\": 23, \"cloud_credential\": null, \"forks\": 2, \"limit\": \"107.6.4.172,107.6.4.104\", \"verbosity\": 1, \"extra_vars\": \"application_version: qa\\ncdn: true\\njs_versioned: true\\nbuild_number: 19846\", \"job_tags\": \"\", \"force_handlers\": false, \"skip_tags\": \"\", \"start_at_task\": \"\", \"last_job_run\": \"2016-03-21T20:33:18.339Z\", \"last_job_failed\": false, \"has_schedules\": false, \"next_job_run\": \"2016-02-17T22:18:00Z\", \"status\": \"successful\", \"host_config_key\": \"\", \"ask_variables_on_launch\": true, \"survey_enabled\": false, \"become_enabled\": false}`\n"},"comment":{"url":"https://api.github.com/repos/stedolan/jq/issues/comments/538394768","html_url":"https://github.com/stedolan/jq/issues/1119#issuecomment-538394768","issue_url":"https://api.github.com/repos/stedolan/jq/issues/1119","id":538394768,"node_id":"MDEyOklzc3VlQ29tbWVudDUzODM5NDc2OA==","user":{"login":"ml4","id":56076038,"node_id":"MDQ6VXNlcjU2MDc2MDM4","avatar_url":"https://avatars2.githubusercontent.com/u/56076038?v=4","gravatar_id":"","url":"https://api.github.com/users/ml4","html_url":"https://github.com/ml4","followers_url":"https://api.github.com/users/ml4/followers","following_url":"https://api.github.com/users/ml4/following{/other_user}","gists_url":"https://api.github.com/users/ml4/gists{/gist_id}","starred_url":"https://api.github.com/users/ml4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ml4/subscriptions","organizations_url":"https://api.github.com/users/ml4/orgs","repos_url":"https://api.github.com/users/ml4/repos","events_url":"https://api.github.com/users/ml4/events{/privacy}","received_events_url":"https://api.github.com/users/ml4/received_events","type":"User","site_admin":false},"created_at":"2019-10-04T13:23:22Z","updated_at":"2019-10-04T13:23:22Z","author_association":"NONE","body":"And piping output into jq from something like the Azure az CLI, which is colourised by the terminal, you may also get issues with the shell colour codes.  [This](https://unix.stackexchange.com/a/49865/101100) nice printf statement may shine a light."}}
{"actor":{"display_login":"ml4"}}