The snapshot is serialized as JSON. JSON does not guarantee ordering of object fields. [RFC7159](https://tools.ietf.org/html/rfc7159) >An object is an unordered collection of zero or more name/value pairs However, the snapshot test fails if the order of fields in the serialized JSON has changed. [Snapshot.java#L42](https://github.com/json-snapshot/json-snapshot.github.io/blob/master/src/main/java/io/github/jsonSnapshot/Snapshot.java#L42) ```java if (!rawSnapshot.trim().equals(currentObject.trim())) ```