public static JsonParser jsonParserFromURL(final URL jsonSource, final boolean allowComments) {
    try {
      return JSON_FACTORY
          .createParser(jsonSource)
          .enable(Feature.AUTO_CLOSE_SOURCE)
          .configure(Feature.ALLOW_COMMENTS, allowComments);
    } catch (IOException e) {
      throw new RuntimeException(e);
    }
  }
Get a JsonParser to parse JSON from URL.

@param jsonSource the json source
@param allowComments true to allow comments
@return the json parser
config/src/main/java/org/hyperledger/besu/config/JsonUtil.java