Utterlyidle does not have any special support for either type so its probably down to how you are writing your JSON.
I'd recommend streaming it if it's a large response.
Instead of returning the json object from your resource, return a StreamingOutput or StreamingWriter then wire this directly into your JSON library.
If you still have problems try adding a BufferedOutputStream or BufferedWriter.
Let us know how you get on.
Dan
I have got a service in utterlyidle which works perfectly fine for html/text but if I use JSON is slows down considerably. In html/text it is less than 1 second and in JSON it is more than 10 seconds. Can any please advice on what can be the problem?
--
You received this message because you are subscribed to the Google Groups "utterlyidle" group.
To unsubscribe from this group and stop receiving emails from it, send an email to utterlyidle...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.