How would I pass a list of complex types in ServiceStack? For example my Request DTO looks like this:
//Request DTO
public class Test
{
public IList<Fund> Funds { get; set; }
}
public class Fund
{
public string Key { get; set; }
public int Percent { get; set; }
}
How can I pass the serialized object via HTTP get?
http://localhost:49490/api/funds={ ?? }
KeyValueDataContractDeserializer: Error converting to type: Type definitions should start with a '{', expecting serialized type 'Fund', got string starting with: asdf