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 NIL Patrick ------------------------------------------------------------------------------ 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