I have a problem with fasterxml Jackson where it ignores everything after the object like:
{
"startIndex": 0,
"length": 10,
"gotoLastPage": false
}
whatever comes here is ignored
I don't know if is possible to throw an error in this case. If the unexpected message is at the beginning it fails as I want. The configuration property DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES is set to true.