is it possible to convert a json to a java properties file?
The api that i am consuming json in this structure:
{ "data": [ { "variable": "A", "value": "a" }, { "variable": "B", "value": "b" } ] }
I wish to convert it to a java properties file in this format:
Hi @Shum Chin Ning , covert your JSON into a structure, and then you will be able to parse it as you wish.
HI Shum Chin Ning,
Take a reference from this video,
hope it help you ..
https://youtu.be/4KfuGTxLQBo
Kind Regards,
Kundan Chauhan