{"action":"closed","issue":{"url":"https://api.github.com/repos/FineUploader/fine-uploader/issues/2006","repository_url":"https://api.github.com/repos/FineUploader/fine-uploader","labels_url":"https://api.github.com/repos/FineUploader/fine-uploader/issues/2006/labels{/name}","comments_url":"https://api.github.com/repos/FineUploader/fine-uploader/issues/2006/comments","events_url":"https://api.github.com/repos/FineUploader/fine-uploader/issues/2006/events","html_url":"https://github.com/FineUploader/fine-uploader/issues/2006","id":320024560,"node_id":"MDU6SXNzdWUzMjAwMjQ1NjA=","number":2006,"title":"Valid json with [ ] is not accepted","user":{"login":"harryshepard","id":9590963,"node_id":"MDQ6VXNlcjk1OTA5NjM=","avatar_url":"https://avatars3.githubusercontent.com/u/9590963?v=4","gravatar_id":"","url":"https://api.github.com/users/harryshepard","html_url":"https://github.com/harryshepard","followers_url":"https://api.github.com/users/harryshepard/followers","following_url":"https://api.github.com/users/harryshepard/following{/other_user}","gists_url":"https://api.github.com/users/harryshepard/gists{/gist_id}","starred_url":"https://api.github.com/users/harryshepard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harryshepard/subscriptions","organizations_url":"https://api.github.com/users/harryshepard/orgs","repos_url":"https://api.github.com/users/harryshepard/repos","events_url":"https://api.github.com/users/harryshepard/events{/privacy}","received_events_url":"https://api.github.com/users/harryshepard/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-03T18:09:30Z","updated_at":"2018-06-29T02:32:53Z","closed_at":"2018-06-29T02:32:53Z","author_association":"NONE","body":"## Type of issue\r\n- [x] Bug report\r\n- [ ] Feature request\r\n\r\n## Uploader type\r\n- [x] Traditional\r\n- [ ] S3\r\n- [ ] Azure\r\n\r\n<details>\r\n<summary>Bug Report</summary>\r\n\r\n#### Fine Uploader version\r\n{example: 5.16.2}\r\n\r\n#### Browsers where the bug is reproducible\r\nChrome, FF\r\n\r\n#### Operating systems where the bug is reproducible\r\n{example: \"iOS 9.1.0\" and \"Windows 8.1\"}\r\n\r\n#### Exact steps required to reproduce the issue\r\n1. Just return [{ \"success\": true }] in the upload handler instead of { \"success\": true } and it doesn't work\r\n\r\n#### All relevant Fine Uploader-related code that you have written\r\nNo modifications, just the stock code from the documentation.\r\n\r\n#### Your Fine Uploader template markup (if using Fine Uploader UI and the issue is UI-related)\r\nStock UI from docs\r\n\r\n#### Detailed explanation of the problem\r\nI'm using gson.toJson(json) to output my json which adds [ ] around it and is still valid json according to https://jsonlint.com/ (and my old upload script)\r\n\r\n{ \"success\": true } and [{ \"success\": true }] are both valid, but I'm having to strip the [] to make fineuploader accept the response\r\n</details>\r\n\r\n\r\n\r\n\r\n<details>\r\n<summary>Feature Request</summary>\r\n\r\n#### Feature request details \r\n{why is this feature important, not just for you, but for many others?}\r\n</details>\r\n"}}
{"actor":{"display_login":"rnicholus"}}