Class WireRowsDeserializer

java.lang.Object
tools.jackson.databind.ValueDeserializer<List<List<Object>>>
dev.frostlake.http.WireRowsDeserializer
All Implemented Interfaces:
tools.jackson.databind.deser.NullValueProvider

public final class WireRowsDeserializer extends tools.jackson.databind.ValueDeserializer<List<List<Object>>>
Reads a response's rows off the wire token by token, so a number's own text decides its Java form. An integer token is the reader's integer; a fraction is a BigDecimal exact to the digit, which is what keeps a NUMBER(38,20) exact across the transport; and a fraction spelled with a minus sign whose value is zero is a FLOAT's negative zero, the one number a BigDecimal cannot hold, so it comes back as the double -0.0. A tree read would have dropped that sign before the client could see the column was a FLOAT; the client still re-types every FLOAT cell from the column metadata afterwards, so nothing else here needs the type. Anything that is not a scalar token is read the way the mapper reads any untyped value.
  • Nested Class Summary

    Nested classes/interfaces inherited from class tools.jackson.databind.ValueDeserializer

    tools.jackson.databind.ValueDeserializer.None
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    deserialize(tools.jackson.core.JsonParser parser, tools.jackson.databind.DeserializationContext context)
     

    Methods inherited from class tools.jackson.databind.ValueDeserializer

    collectAllPropertyNamesTo, createContextual, deserialize, deserializeWithType, deserializeWithType, findBackReference, getAbsentValue, getDelegatee, getEmptyAccessPattern, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getObjectIdReader, handledType, hasAnySetter, isCachable, logicalType, replaceDelegatee, resolve, supportsUpdate, unwrappingDeserializer

    Methods inherited from class java.lang.Object

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

    • WireRowsDeserializer

      public WireRowsDeserializer()
  • Method Details

    • deserialize

      public List<List<Object>> deserialize(tools.jackson.core.JsonParser parser, tools.jackson.databind.DeserializationContext context) throws tools.jackson.core.JacksonException
      Specified by:
      deserialize in class tools.jackson.databind.ValueDeserializer<List<List<Object>>>
      Throws:
      tools.jackson.core.JacksonException