Closed xmedeko closed 5 years ago
Thanks, I will look into it.
The following works for me, what is your test case?
var d = new Dictionary<string, List<double>>();
d.Add("a", new List<double> { 1, 2, 3 });
d.Add("b", new List<double> { 4, 5, 6 });
var s = JSON.ToJSON(d, new JSONParameters { UseExtensions = false });
var o = JSON.ToObject<Dictionary<string, List<double>>>(s);
Sorry, it's Dictionary<int, List<double>>
and Dictionary<int, double[]>
what is failing. (I have originally enum as a key in my code.)
fixed in v2.2.3
fastJSON fails deserialize a field
Dictionary<int, List<double>>
or a fieldDictionary<int, double[]>
. I haveUseExtensions = false
. It fails with:Note: serialization is ok.