Dates inside objects and HTTP Request


I’m using 4D v17. I have checked the compatibility option “Use date type instead of ISO date format in objects”.

So I’m all good with dates going to and from JSON with JSON Stringify and JSON Parse.

However, when I use HTTP Request and put the response straight into a 4D Object, any dates are being put into my resulting object as a string. The JSON being fetched by HTTP Request is coming from 4D (the same 4D is doing the sending and receiving in my test).

If I first put the result into a text variable and then use JSON Parse myself, the dates are correctly put into the object as dates.

Is that expected behaviour?