io.setl.json.FormattedJson Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of canonical-json Show documentation
Show all versions of canonical-json Show documentation
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