Class PrettyStringConverter
java.lang.Object
de.christofreichardt.json.websignature.PrettyStringConverter
- All Implemented Interfaces:
Json2StringConverter
A formatter of
JsonStructures. Uses internally the JsonGenerator.PRETTY_PRINTING facility.- Author:
- Christof Reichardt
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PrettyStringConverter
public PrettyStringConverter()
-
-
Method Details
-
convert
Description copied from interface:Json2StringConverterConverts predictably the givenJsonStructureinto a string.- Specified by:
convertin interfaceJson2StringConverter- Parameters:
jsonStructure- the to be convertedJsonStructure.- Returns:
- a string representation of the given
JsonStructure.
-