Tuesday, November 24, 2015

JSON::ParserError:

JSON::ParserError:
       757: unexpected token at

Solution:

Escape the double quotes:
"{\"foo\":\"bar\"}"