Class JsonFormatter

java.lang.Object
put.ai.se.jsontools.core.format.JsonFormatter
All Implemented Interfaces:
FormattableJson
Direct Known Subclasses:
JsonFilter, JsonMinifier, JsonPrettifier

public abstract class JsonFormatter extends Object implements FormattableJson
  • Field Details

  • Constructor Details

    • JsonFormatter

      public JsonFormatter(FormattableJson source)
      Constructs a new `JsonFormatter` object with the provided source.
      Parameters:
      source - The source `FormattableJson` object.
  • Method Details

    • getProcessed

      public String getProcessed(FormatArguments arguments)
      Returns the processed JSON string based on the provided format arguments.
      Specified by:
      getProcessed in interface FormattableJson
      Parameters:
      arguments - The format arguments.
      Returns:
      The processed JSON string.