Class GsonConfigurationLoader.Builder

    • Constructor Detail

    • Method Detail

      • getIndent

        public int getIndent()
        Gets the level of indentation to be used by the resultant loader.
        Returns:
        The indent level
      • setLenient

        public @NonNull GsonConfigurationLoader.Builder setLenient​(boolean lenient)
        Sets if the resultant loader should parse leniently.
        Parameters:
        lenient - Whether the parser should parse leniently
        Returns:
        This builder (for chaining)
        See Also:
        JsonReader.setLenient(boolean)
      • isLenient

        public boolean isLenient()
        Gets if the resultant loader should parse leniently.
        Returns:
        Whether the parser should parse leniently