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_jsonEncode() in Harbour. If xHarbour's 
JSON implementation is copied from Harbour, you should expect the same 
behaviour.


Regards,
Mindaugas

------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers

Reply via email to