Interface JsonPrinter<T>

Type Parameters:
T - the type of the object to print
All Superinterfaces:
Function<T,String>, org.approvej.print.Printer<T>
All Known Implementing Classes:
JsonPrettyPrinter, JsonStringPrettyPrinter

public interface JsonPrinter<T> extends org.approvej.print.Printer<T>
A Function that converts an object to a String in JSON format.
  • Method Details

    • filenameExtension

      default String filenameExtension()
      Specified by:
      filenameExtension in interface org.approvej.print.Printer<T>