No, only (the more human-friendly) JSV format is supported for deserializing complex types on the QueryString. You can use JSON in HTTP POST's.
Getting ServiceStack to use "default" JSON instead of JSV for parsing classes in HTTP Get
-
06-10-2022 - |
문제
As shown in answer on this question ServiceStack by default uses JSV format for complex objects when they are passed in QueryString.
Is it possible to set ServiceStack to use "default" JSON instead of JSV? Like instead of doing:
http://server.com/fooservice/servicestack/foo?Color1=blue&Dto={Color2:red}
I would prefer to pass:
http://server.com/fooservice/servicestack/foo?Color1=blue&Dto={"Color2":"red"}
Any way to do that?
해결책
제휴하지 않습니다 StackOverflow