Closed adityagautam closed 8 years ago
Not sure what you're actually comparing. Try printing out abc and abcd, create code compare the raw strings (String abc = "...") and add here. That will be easier to troubleshoot.
Going to close, but feel free to reopen with the actual strings if you still haven't resolved this.
Error that I am getting: While the values of both the strings are same. but still assertion is failing. Expected: a JSON object but none found
Code: JSONParser parser = new JSONParser(); try
JSONAssert.assertEquals(abc,abcd,false);