Package put.ai.se.jsontools.core.format
Class JsonMinifier
java.lang.Object
put.ai.se.jsontools.core.format.JsonFormatter
put.ai.se.jsontools.core.format.JsonMinifier
- All Implemented Interfaces:
 FormattableJson
The JsonMinifier class is responsible for minifying JSON data by removing
 whitespace and unnecessary characters.
 It decorates a JsonFormattable object and provides the minified JSON
 representation.
- 
Constructor Summary
ConstructorsConstructorDescriptionJsonMinifier(FormattableJson source) Constructs a JsonMinifier object with the specified source. - 
Method Summary
Modifier and TypeMethodDescriptiongetProcessed(FormatArguments arguments) Gets the minified JSON representation from the decorated source. 
- 
Constructor Details
- 
JsonMinifier
Constructs a JsonMinifier object with the specified source.- Parameters:
 source- the JsonFormattable object to be decorated and minified
 
 - 
 - 
Method Details
- 
getProcessed
Gets the minified JSON representation from the decorated source.- Specified by:
 getProcessedin interfaceFormattableJson- Overrides:
 getProcessedin classJsonFormatter- Parameters:
 arguments- the JsonFormatParams object containing formatting parameters (ignored in minification)- Returns:
 - the minified JSON representation
 
 
 -