jsonVal := TJSONObject.ParseJsonValue(AList.Text);
jsonDeSer := TJsonDeserializer.Create(@jsonVal);
FGridData := jsonDeSer.Value<TZzyGridDroppedData<T>>; // Problem line
The above fails to deserialize the class of <T> with an error raised 'invalid state'.
Thanks.
Comments