What should I do to my DHT22 sensor provide Json??


I have connected my DHT22 to nodeMCU and i send the temprature to a MQTT server successfully

But for some reason I need to provide my module to JSON

How could I do that??

Simply format your data in to a JSON formatted string according to your hosts specifications?