getJSON with ServiceStack?
===

Server Side:

    [RestService("/x")]
    public class XFilter
    {
        public long[] CountryIds { get; set; }
    }

    public class XService : RestServiceBase<XFilter>
    {
        private const int PageCount = 20;

        public override object OnGet(XFilter request)
        {
            Debugger.Break(); // request is always default at this point  !!
            return a;
        }
    }
    
Client Side:

    <script type="text/javascript">
   
     var requestData= "{CountryIds:[1,2]}";
    $.getJSON("/api/x", requestData, function (b) {

    });
</script>

It must be so easy, but I could not get XFilter on server side with this approach.