public static String jsonConfig(final NetworkName network) {
    try (final InputStream genesisFileInputStream =
        EthNetworkConfig.class.getResourceAsStream(network.getGenesisFile())) {
      return new String(genesisFileInputStream.readAllBytes(), StandardCharsets.UTF_8);
    } catch (IOException | NullPointerException e) {
      throw new IllegalStateException(e);
    }
  }
Json config string.

@param network the named network
@return the json string
app/src/main/java/org/hyperledger/besu/cli/config/EthNetworkConfig.java