Hello friends, Today I will show you how to convert XML string to JSON in Android Studio.
1. Open a new project and create a TextView and a Button.
2. Download the java-son.jar file from the link in the description and add it as a library to your project.
https://drive.google.com/file/d/1lFN1...
3. Convert sample XML string to JSON Object using the 2-line code shown in the video.
Thanks for watching :-)