Closed Barteks2x closed 4 years ago
Regression of #26 , seems to happen becuase Pattern.compile("[a-zA-Z0-9]+").asPredicate()
matches "test:key" but not ":", even though it works in regexr, so I'm going to have to reread the Pattern javadocs
Edit: I think I've got it, going with ^[a-zA-Z0-9]+$
This also has a unit test so if it breaks in the future, I'll know
this code:
outputs the following invalid json: