All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.setl.json.FormattedJson Maven / Gradle / Ivy

Go to download

An implementation of the Canonical JSON format with support for javax.json and Jackson

The newest version!
package io.setl.json;

/**
 * Marker interface for anything that converted to text in pretty or canonical form.
 */
public interface FormattedJson {

  /**
   * Output the specification of this as a JSON structure in canonical form.
   *
   * @return the JSON structure in canonical form
   */
  String toCanonicalString();


  /**
   * Output the specification of this as a JSON structure in pretty form.
   *
   * @return the JSON structure in pretty form
   */
  String toPrettyString();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy