JSONassert's Objects are org.json.JSONObject, which store the name-value pairs in a HashMap, losing the order of the keys. This matches the json spec, which says that objects are unordered collections of key/values. However, I have tests where I want to make sure that nothing about an api changes, not even the order of keys in objects. I'm looking for something more strict than strict ordering.
This is probably a big change since it means not using org.json.JSONObject, and instead using something where we can configure the Map to be a LinkedHashMap. What do you think? Is that too big of a change for this library?
JSONassert's Objects are org.json.JSONObject, which store the name-value pairs in a HashMap, losing the order of the keys. This matches the json spec, which says that objects are unordered collections of key/values. However, I have tests where I want to make sure that nothing about an api changes, not even the order of keys in objects. I'm looking for something more strict than strict ordering.
This is probably a big change since it means not using org.json.JSONObject, and instead using something where we can configure the Map to be a LinkedHashMap. What do you think? Is that too big of a change for this library?