Hi All,
I have a problem when deserializing the JSON String thrown by the D365FO using the JSON Service. I tried setting the header to Accept application/json.

The class attached to the service:
[AifCollectionType('return', Types::RString, extendedTypeStr(Name))]
public anytype processData(ContractOfJsonReceived jReceived)
.
// Process Data
.
ContractOfJsonReturn jReturn;
str JSonStr = FormJsonSerializer::serializeClass(jReturn);