EdColeman commented on code in PR #3927:
URL: https://github.com/apache/accumulo/pull/3927#discussion_r1387283276
##########
core/src/main/java/org/apache/accumulo/core/conf/PropertyType.java:
##########
@@ -136,6 +141,9 @@ public enum PropertyType {
"An arbitrary string of characters whose format is unspecified and"
+ " interpreted based on the context of the property to which it
applies."),
+ JSON("json", x -> new ValidJson().test(x),
Review Comment:
The test is fairly light weight, so I don't know how we could evaluate if it
made a difference. With 37112e7e0e, the ObjectMapper is shared, so there
should be even less impact on object creation.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]