I am having an issue with JSON, I can\'t seem to figure out why this is not working. This is supposed to output JSON.
Here is my code
#!/usr/bin/env
It seems that you have invalid JSON. In that case, that's totally dependent on the data the server sends you which you have not shown. I would suggest running the response through a JSON validator.