Class JacksonCoreParserFactory

java.lang.Object
io.micronaut.jackson.core.parser.JacksonCoreParserFactory

@Internal @Deprecated(since="5.0.0") public final class JacksonCoreParserFactory extends Object
Deprecated.
Helper class for implementing JsonMapper.readValue(ByteBuffer, Argument) with optimizations for netty ByteBufs.
Since:
4.0.0
Author:
Jonas Konrad
  • Method Summary

    Modifier and Type
    Method
    Description
    static tools.jackson.core.JsonParser
    createJsonParser(tools.jackson.core.json.JsonFactory factory, ByteBuffer<?> buffer)
    Deprecated.
    Use method with ObjectReadContext instead
    static tools.jackson.core.JsonParser
    createJsonParser(tools.jackson.core.json.JsonFactory factory, tools.jackson.core.ObjectReadContext readContext, ByteBuffer<?> buffer)
    Deprecated.
    Create a jackson JsonParser for the given input bytes.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • createJsonParser

      @Deprecated(since="5.0.0") public static tools.jackson.core.JsonParser createJsonParser(tools.jackson.core.json.JsonFactory factory, ByteBuffer<?> buffer) throws IOException
      Deprecated.
      Use method with ObjectReadContext instead
      Create a jackson JsonParser for the given input bytes.
      Parameters:
      factory - The jackson JsonFactory for parse features
      buffer - The input data
      Returns:
      The created parser
      Throws:
      IOException - On failure of jackson createParser methods
    • createJsonParser

      public static tools.jackson.core.JsonParser createJsonParser(tools.jackson.core.json.JsonFactory factory, tools.jackson.core.ObjectReadContext readContext, ByteBuffer<?> buffer) throws IOException
      Deprecated.
      Create a jackson JsonParser for the given input bytes.
      Parameters:
      factory - The jackson JsonFactory for parse features
      readContext - The jackson read context
      buffer - The input data
      Returns:
      The created parser
      Throws:
      IOException - On failure of jackson createParser methods