Interface BDecoder.MapDecodeListener

Enclosing class:
BDecoder

public static interface BDecoder.MapDecodeListener
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    mapDecoded(String context, Map<String,Object> map, int nestingLevel)
    Triggered when a map is finished decoding.
  • Method Details

    • mapDecoded

      void mapDecoded(String context, Map<String,Object> map, int nestingLevel)
      Triggered when a map is finished decoding. Useful if you want to modify the map before it's returned. For example, removing unused key/values that would otherwise take up memory.
      Parameters:
      context - root context is ""
      map - Modifying this map will affect the return value from BDecoder.decode(..)
      nestingLevel - root level is 0