You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I have json with structure like this:
{
"groups":[
{
"name":"someName",
"members":[
{
"lastLoginDate":"someDate"
}
]
}
]
}
trying to ignore value "lastLoginDate" is not working: JSONAssert.assertEquals(expectedJSON, actualJSON, new CustomComparator(Mode.LINEAR, new Customization("groups[*].members[*].lastLoginDate", (o1, o2) -> true)));
NOTE: this is pseudocode, actual code can not be given.
Do I done something wrong? Path looks right for me, at least ignoring "name" works with path: "groups[*].name", so assume that this is bug.
The text was updated successfully, but these errors were encountered:
When I have json with structure like this:
{
"groups":[
{
"name":"someName",
"members":[
{
"lastLoginDate":"someDate"
}
]
}
]
}
trying to ignore value "lastLoginDate" is not working:
JSONAssert.assertEquals(expectedJSON, actualJSON, new CustomComparator(Mode.LINEAR, new Customization("groups[*].members[*].lastLoginDate", (o1, o2) -> true)));
NOTE: this is pseudocode, actual code can not be given.
Do I done something wrong? Path looks right for me, at least ignoring "name" works with path: "groups[*].name", so assume that this is bug.
The text was updated successfully, but these errors were encountered: