Class JsonContentCanonicalizer

  • All Implemented Interfaces:
    ContentCanonicalizer
    Direct Known Subclasses:
    KafkaConnectContentCanonicalizer

    public class JsonContentCanonicalizer
    extends Object
    implements ContentCanonicalizer
    A common JSON content canonicalizer. This will remove any extra formatting such as whitespace and also sort all fields/properties for all objects (because ordering of properties does not matter in JSON).
    Author:
    eric.wittmann@gmail.com