KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
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
Tags (comma-separated)
Save Edits
Cancel