I'm using ServiceStack.Text to Deserialize data I receive from a source... those packets arrive in a really high rate and I was looking for deserialize them to structs instead of classes. Is servistack unable by design?
Read how Structs are serialized, i.e. you can use them in C# but you need ensure that its
TStruct(string) constructor or static
ParseJson() method can deserialize their
ToString() value, which is what's used for serialization.
Using Struct's can't work in generated DTOs because they only contain the POCO's data contract, not any of its implementation containing their marshalling logic that handles their serialized scalar value representation.