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
As of version 0.4.0, json-fuzzy-match no longer depends on Karate. Now the json-fuzzy-match uses its own parser to parse JSON match patterns. Because of this, there are some breaking changes:
Lenient JSON syntax is no longer supported. Both pattern and actual value must be a valid JSON string.
The following complex matchers are no longer supported.
Optional fields, e.g. ##number
#? EXPR: self-validation expressions
#(EXPR): embedded expressions
Using expression in advanced array validation, e.g. #[]? _.length == 3
Error message of AssertionError has changed. Now IntelliJ IDEA will show a <Click to see difference> link to compare actual and pattern value side-by-side. Note that both actual and pattern value is pretty-formatted in the error message.
Now #uuid marker requires just 36 characters.
New features
New pattern markers #date and #datetime are available:
#date matches ISO 8601 date string, e.g. 2020-07-23.
#datetime matches ISO 8601 datetime string with timezone, e.g. 2020-07-23T14:56:11+09:00.