Compress-Decompress

Hello, I have a CGI Lazarus application in server side through which I'm sending and reciving data in json format.

I would like to compress the information or at least a portion of it. 

With Lazarus I can use some component or library like paszlib but I don't know how can I do it using TMSWebcore in the client side.

How can I compress and decopress streams with TMSWebCore?

Thanks

At this moment there is no client side decompression.

If you enable gzip on your web server, this is by far the easiest method as your server will send data compressed and the browser will handle the decompress of data returned by HTTP requests for you.
Alternatives are more complex and answers can be found here:
https://stackoverflow.com/questions/294297/javascript-implementation-of-gzip