I'm looking for a JSON paring library that supports comparing two JSON objects' structures, ignoring values, child order, and - if possible - optionally ignoring additional elements in the response; specifically for unit testing JSON returning from a web service against an expected structure. (I'd like to pass into the assert method a sample response and compare its structure to the actual response - instead of having to write asserts for each node. Getting different values back isn't a problem, as long as the structure is fine.)
Do any of the major JSON libraries support this? (This question is basically the same as Compare two JSON objects in Java, but I want the assert to ignore the values in my JSON structure, which might look like the example found on Wikipedia...)