Invalid class typecast for property "x" [Expected: TArray<System.string>, Actual: Array] #432
Labels
accepted
Issue has been accepted and inserted in a future milestone
Milestone
Hello again!
I've been using DMVC for a little long time now, and it works great.
But now I'm having trouble with TArray class. Like in the sample "renders" provided from the samples.zip, I can SERIALIZE an TArray<System.string> just fine, but I cannot seem to DESERIALIZE an json array. Always getting the same error "Invalid class typecast for property "x" [Expected: TArray<System.string>, Actual: Array]".
My json array is like this:
It's the same array generated by the Render method.
My class is like this:
Trying to DESERIALIZE like this:
What I'm doing wrong?
The text was updated successfully, but these errors were encountered: