We are moving some of our services from old datanap server to xdata and while testing xdata version I noticed that output data is almost 3 time as large. (testcase 655K -> 1.7M) and then i realized that xdata creates formated output.
Can this be disabled somehow? if I removed extra whitespaces size is almost the same .
by changing Xdata.consts.JsonDefaultIndent to variable?
Indeed, that's currently the only option. You can always use the Compress middleware, of course, to reduce the size of generated response.