How to find a JSON size and compress/decompress it to reduce it's size
We have a requirement to reduce the size of the data(xml/json) which we are pushing to Queue Processor for processing. As QP has a size limit and cannot process anything larger than 5 MB message size.
1. Is there any way to find out size of the XML/JSON
2. How to compress/decompress OR zip/unzip to content at source and destination which will reduce the size of the message which is passed to QP.