Package put.ai.se.jsontools.core.format
Class JsonFormatter
java.lang.Object
put.ai.se.jsontools.core.format.JsonFormatter
- All Implemented Interfaces:
FormattableJson
- Direct Known Subclasses:
JsonFilter,JsonMinifier,JsonPrettifier
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionJsonFormatter(FormattableJson source) Constructs a new `JsonFormatter` object with the provided source. -
Method Summary
Modifier and TypeMethodDescriptiongetProcessed(FormatArguments arguments) Returns the processed JSON string based on the provided format arguments.
-
Field Details
-
source
-
-
Constructor Details
-
JsonFormatter
Constructs a new `JsonFormatter` object with the provided source.- Parameters:
source- The source `FormattableJson` object.
-
-
Method Details
-
getProcessed
Returns the processed JSON string based on the provided format arguments.- Specified by:
getProcessedin interfaceFormattableJson- Parameters:
arguments- The format arguments.- Returns:
- The processed JSON string.
-