1. Comparing API Response Versions
Backend EngineerBackground
A backend engineer is upgrading an API endpoint from v1 to v2 and needs to verify that the response structure matches the new specification without breaking existing fields.
Problem
Manually checking nested JSON structures for added, removed, or modified fields is slow and error-prone.
How to use
Paste the v1 JSON response into the Left JSON field and the v2 JSON response into the Right JSON field. Set the Left Label to 'v1' and the Right Label to 'v2', then run the comparison.
{
"leftLabel": "v1",
"rightLabel": "v2",
"showUnchanged": false,
"sortKeys": true
}Outcome
An HTML diff report is generated, clearly highlighting that the 'count' field changed from 2 to 3 and a new boolean field 'next' was added.