How to parse the compare document response in Java without library

How do I parse the compare document response from the /words/online/put/compareDocument api endpoint in Java without using the aspose library (preferably without using any library)?

@Yovira

It seems you are not using Aspose.Words Cloud SDK for Java, please confirm which REST Client you are using for consuming Aspose.Words REST API or share your sample code. It will help us to investigate and suggest exactly.

@tilal.ahmad

I’m using the java.net.http.HttpClient.

@Yovira

Thanks for your feedback. We will look into the requirements and share the details soon.