I create a PHP service. Im returning an array as a json object using json_encode($object). The response message says Content-tpy: application/json. I guess this is being added to the response by dreamfactory. Howver, the client application actuall gets a string like this: “$object_value”. So there are ‘"’ envolving the json value which makes it a text/string and not a json object.
Can someone tell me why this happens? How can I deliver a json object instead of a string?