Interface ConfigFormat

All Known Implementing Classes:
Json5Format, TomlFormat

public interface ConfigFormat
A config file's syntax. Values reach a format already encoded as JSON trees by their codecs, and are read back as JSON trees, so a format only translates syntax. ConfigFormats has the built-in ones.
  • Method Summary

    Modifier and Type
    Method
    Description
    The file extension, without the dot.
    com.google.gson.JsonObject
    read(String text)
    Parses a file's text into nested objects.
    Writes a document, with its comments.