Hi, I have a simple datatable that converts to the following json string when using fastjson :
txtJSon = {"$types":{"fastJSON.DatasetSchema, fastJSON, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null":"1"},{"$schema":"$type":"1","Info":["","Id","System.Int32","","Description","System.String","","BaseCurrenciesId","System.Int32","","ExternalBanks","System.Boolean"],"Name":""},"":[[3,"Barclays",139,true]]}
If I want to take the above json string and convert back to datatable using code :
where dt = datatable
dt = fastJSON.JSON.Instance.ToObject(txtJSon)
dt = fastJSON.JSON.Instance.Parse(txtJSon)
I get the following error :
Could not find token at index 108.
Please assist.
Tnx
Andy Fensham