Class AvroContentCanonicalizer
- java.lang.Object
-
- io.apicurio.registry.content.canon.AvroContentCanonicalizer
-
- All Implemented Interfaces:
ContentCanonicalizer
public class AvroContentCanonicalizer extends Object implements ContentCanonicalizer
An Avro implementation of a content Canonicalizer. This will use Jackson to remove any formatting that is not needed (i.e. whitespace). It will also order the list of fields, since that is not important.- Author:
- eric.wittmann@gmail.com
-
-
Constructor Summary
Constructors Constructor Description AvroContentCanonicalizer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContentHandle
canonicalize(ContentHandle content)
-
-
-
Method Detail
-
canonicalize
public ContentHandle canonicalize(ContentHandle content)
- Specified by:
canonicalize
in interfaceContentCanonicalizer
- See Also:
ContentCanonicalizer.canonicalize(io.apicurio.registry.content.ContentHandle)
-
-