M66 OpenCPU JSON creating and parsing

I have set up an MQTT connection and can send and receive data on a topic on the M66 module. Now I want to send and receive data in JSON format, so is there any library or built-in function using which I can parse the received JSON data? and also for sending JSON data.

Hi, can anyone help me out on this please? Thanks.