Which Arduino are you running this code on? If the String instance can contain 512 characters plus the char array to hold 512 characters, that's more than half the memory on an Arduino. There is NOT then room for a 1200 character buffer for parsing the JSON data.
I get the error, "invalid conversion from 'char*' to 'char' [-fpermissive]"
That's less than half of the message, so, less than half of the answer is: