com.signalfx.shaded.fasterxml.jackson.jr.ob.JacksonJrExtension Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of signalfx-codahale Show documentation
Show all versions of signalfx-codahale Show documentation
Dropwizard Codahale metrics plugin for signalfx
The newest version!
package com.signalfx.shaded.fasterxml.jackson.jr.ob;
import com.signalfx.shaded.fasterxml.jackson.jr.ob.api.ExtensionContext;
import com.signalfx.shaded.fasterxml.jackson.jr.ob.api.ReaderWriterModifier;
import com.signalfx.shaded.fasterxml.jackson.jr.ob.api.ReaderWriterProvider;
import com.signalfx.shaded.fasterxml.jackson.jr.ob.api.ValueReader;
import com.signalfx.shaded.fasterxml.jackson.jr.ob.api.ValueWriter;
/**
* Simple interface that processing additions can implement to be easily pluggable
* to main Jackson jr handler, {@link com.signalfx.shaded.fasterxml.jackson.jr.ob.JSON}.
* Extensions typically provide things like custom readers ({@link ValueReader})
* and writers ({@link ValueWriter}) (via {@link ReaderWriterProvider}), and
* modifers ({@link ReaderWriterModifier}) that allow customizing aspects of
* JSON reading and writing.
*
* @since 2.11
*/
public abstract class JacksonJrExtension
{
/**
* Method called by {@link JSON} to let extension register handlers
* it wants to.
*
* @param ctxt Context that allows extension to register handlers
*/
protected abstract void register(ExtensionContext ctxt);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy