예제 #1
0
 static {
   // Allows for unescaped ASCII control characters in JSON values
   JSON_FACTORY.enable(Feature.ALLOW_UNQUOTED_CONTROL_CHARS);
   JSON_FACTORY.enable(Feature.ALLOW_SINGLE_QUOTES);
 }
예제 #2
0
 static {
   FACTORY.enable(JsonParser.Feature.ALLOW_COMMENTS);
   FACTORY.setCodec(MAPPER);
 }