For use with json_app_get. Will gzip it and then convert base64 so it can be transmitted via SNMP.
It will then check to see what is larger, the results or the original and print the smaller one. For larger JSON items it tends to be a third of the original in general.
For use with json_app_get. Will gzip it and then convert base64 so it can be transmitted via SNMP.
It will then check to see what is larger, the results or the original and print the smaller one. For larger JSON items it tends to be a third of the original in general.