Class Json.JsonHashMap

All Implemented Interfaces:
Serializable, Cloneable, Map<String,Object>
Enclosing class:
Json

public static class Json.JsonHashMap extends LinkedHashMap<String,Object>
A LinkedHashMap intended to hold JSON-structured data, with a toString() method that produces JSON text.
Author:
Andrew Pavlin, KA2DDO
See Also:
  • Constructor Details

    • JsonHashMap

      public JsonHashMap()
  • Method Details

    • toString

      public String toString()
      Returns a JSON-formatted string representation of this map.
      Overrides:
      toString in class AbstractMap<String,Object>
      Returns:
      a string representation of this map