Read JSON file and Write data in JSON file

Hi all, I am new to python and zerynth as well, this is my first project.
I have to read a JSON file where I have to save Wifi SSID and Password and create a wifi link using the same. How to achieve the same?
My device is ESP32 DevkitC.

You would need to use the JSON and the ESP32WIfi libraries.
Check this example that uses wifi and JSON to connect via http to get the current time.

But how to save the same data to a JSON File