Re: [xHarbour-developers] JSon difference

2011-03-31 Thread Mindaugas Kavaliauskas
Hi, On 2011.03.31 17:06, Patrick Mast, xHarbour. wrote: > JSon:=hb_jsonencode(Date(), .F.) > ? hb_jsondecode(JSon, @dDate) // Returns "20110331" instead of a date var JSON encoding does not have date type, so, I've implemented date to character string mapping in hb_jsonEn

[xHarbour-developers] JSon difference

2011-03-31 Thread Patrick Mast, xHarbour.
Hello, JSon returns a string instead of a date in this sample: FUNCTION Main LOCAL dDate,JSon JSon:=hb_jsonencode(Date(), .F.) ? hb_jsondecode(JSon, @dDate) // Returns "20110331" instead of a date var RETURN NI