Class JsonifyLinkedHashMap<K,V>

java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<K,V>
java.util.LinkedHashMap<K,V>
com.github.wnameless.json.flattener.JsonifyLinkedHashMap<K,V>
Type Parameters:
K - the type of keys
V - the type of values
All Implemented Interfaces:
Serializable, Cloneable, Map<K,V>

public class JsonifyLinkedHashMap<K,V> extends LinkedHashMap<K,V>
JsonifyLinkedHashMap is simple a LinkedHashMap but with an override jsonify toString method.
Author:
Wei-Ming Wu
See Also:
  • Constructor Details

    • JsonifyLinkedHashMap

      public JsonifyLinkedHashMap()
    • JsonifyLinkedHashMap

      public JsonifyLinkedHashMap(Map<K,V> map)
  • Method Details

    • setTranslator

      public void setTranslator(org.apache.commons.text.translate.CharSequenceTranslator translator)
    • toString

      public String toString(PrintMode printMode)
    • toString

      public String toString()
      Overrides:
      toString in class AbstractMap<K,V>