Package com.jsoniter

Class MapKeyDecoders.StringKeyDecoder

java.lang.Object
com.jsoniter.MapKeyDecoders.StringKeyDecoder
All Implemented Interfaces:
Decoder
Enclosing class:
MapKeyDecoders

private static class MapKeyDecoders.StringKeyDecoder extends Object implements Decoder
  • Constructor Details

    • StringKeyDecoder

      private StringKeyDecoder()
  • Method Details

    • decode

      public Object decode(JsonIterator iter) throws IOException
      Description copied from interface: Decoder
      Customized decoder to read values from iterator
      Specified by:
      decode in interface Decoder
      Parameters:
      iter - the iterator instance
      Returns:
      the value to set
      Throws:
      IOException - when reading from iterator triggered error