Closed FelikZ closed 9 years ago
For example I have the following input:
{ "12421412": {}, "12621213": {}, //... }
Want to test that keys matching ^[0-9]+$.
^[0-9]+$
Hidden in the library is a keyword called patternProperties.
patternProperties
{ type: 'object', patternProperties: { '^[0-9]+$': {...} } }
Very thanks!
For example I have the following input:
Want to test that keys matching
^[0-9]+$
.