com.fasterxml.jackson.databind.deser.impl

Class PropertyValueBuffer

  • java.lang.Object
    • com.fasterxml.jackson.databind.deser.impl.PropertyValueBuffer


  • public class PropertyValueBuffer
    extends Object
    Simple container used for temporarily buffering a set of PropertyValues. Using during construction of beans (and Maps) that use Creators, and hence need buffering before instance (that will have properties to assign values to) is constructed.
    • Field Detail

      • _parser

        protected final com.fasterxml.jackson.core.JsonParser _parser
      • _creatorParameters

        protected final Object[] _creatorParameters
        Buffer used for storing creator parameters for constructing instance.
      • _paramsNeeded

        protected int _paramsNeeded
        Number of creator parameters for which we have not yet received values.
      • _paramsSeen

        protected int _paramsSeen
        Bitflag used to track parameters found from incoming data when number of parameters is less than 32 (fits in int).
      • _paramsSeenBig

        protected final BitSet _paramsSeenBig
        Bitflag used to track parameters found from incoming data when number of parameters is 32 or higher.
      • _buffered

        protected PropertyValue _buffered
        If we get non-creator parameters before or between creator parameters, those need to be buffered. Buffer is just a simple linked list
      • _idValue

        protected Object _idValue
        In case there is an Object Id property to handle, this is the value we have for it.
      • _anyParamSetter

        protected final SettableAnyProperty _anyParamSetter
        "Any setter" property bound to a Creator parameter (via @JsonAnySetter)
        Since:
        2.18
      • _anyParamBuffered

        protected PropertyValue _anyParamBuffered
        If "Any-setter-via-Creator" exists, we will need to buffer values to feed it, separate from regular, non-creator properties (see _buffered).
        Since:
        2.18

Copyright © 2008–2024 FasterXML. All rights reserved.