If I send an HTTP GET request to an API, I get an array as a response:
For example: [[Peter, 22, 1990], [Dan, 33, 2000]].
How can I convert it to JSON?
I want this instead of the array:
[{"Name":"Peter,"Age":22, "Born":1990}, {"Name":"Dan","Age":33, "Born":2000}]