payload: {"action":"closed","issue":{"url":"https://api.github.com/repos/therealparmesh/object-to-formdata/issues/28","repository_url":"https://api.github.com/repos/therealparmesh/object-to-formdata","labels_url":"https://api.github.com/repos/therealparmesh/object-to-formdata/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/therealparmesh/object-to-formdata/issues/28/comments","events_url":"https://api.github.com/repos/therealparmesh/object-to-formdata/issues/28/events","html_url":"https://github.com/therealparmesh/object-to-formdata/issues/28","id":430928493,"node_id":"MDU6SXNzdWU0MzA5Mjg0OTM=","number":28,"title":"Issue with empty arrays","user":{"login":"bhatnagardivyanshu","id":25375131,"node_id":"MDQ6VXNlcjI1Mzc1MTMx","avatar_url":"https://avatars1.githubusercontent.com/u/25375131?v=4","gravatar_id":"","url":"https://api.github.com/users/bhatnagardivyanshu","html_url":"https://github.com/bhatnagardivyanshu","followers_url":"https://api.github.com/users/bhatnagardivyanshu/followers","following_url":"https://api.github.com/users/bhatnagardivyanshu/following{/other_user}","gists_url":"https://api.github.com/users/bhatnagardivyanshu/gists{/gist_id}","starred_url":"https://api.github.com/users/bhatnagardivyanshu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhatnagardivyanshu/subscriptions","organizations_url":"https://api.github.com/users/bhatnagardivyanshu/orgs","repos_url":"https://api.github.com/users/bhatnagardivyanshu/repos","events_url":"https://api.github.com/users/bhatnagardivyanshu/events{/privacy}","received_events_url":"https://api.github.com/users/bhatnagardivyanshu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2019-04-09T12:02:42Z","updated_at":"2019-09-01T23:33:03Z","closed_at":"2019-09-01T23:33:03Z","author_association":"NONE","body":"I am having an issue on converting an object that has an empty array in value. For ex,\r\n\r\n> let data = {\r\n'some-key' : []\r\n};\r\n\r\nOn, converting this to form data what I get at the backend is [null]. Please see to it as I am using validation at the backend which fails. Either it should return null or an empty []\r\n"}}
other: {"actor":{"display_login":"therealparmesh"}}