AnsweredAssumed Answered

Encoded JSON comes back as &quot

Question asked by CarlSchwarz on Nov 21, 2017
Latest reply on Nov 22, 2017 by CarlSchwarz

I am encoding JSON using JSONSetElement



JSONSetElement ( $FinalJSON ; "Assets" ; $AsetJSON ;




I then use the PHP API to output the JSON to a webpage, all the PHP does is

echo $record->getField('JSON');


I then use "Insert from url" to import this JSON back into the database just for testing.

The JSON in a web browser looks fine, however the JSON in FileMaker looks like this:


rather than


"Assets": {


Is the php in the middle altering the characters in the quote?  Any tips if that is happening on how to fix it?