Class OrderedJsonObject

  • All Implemented Interfaces:
    kotlin.collections.Map , kotlin.collections.MutableMap , org.json.simple.JSONAware , org.json.simple.JSONStreamAware

    
    public final class OrderedJsonObject
     implements Map<Any, Any>, JSONAware, JSONStreamAware
                        

    Functions just like JSONObject, but preserves the order in which keys were added (which is useful for things like stats where we want to group similar values and preserve the pipeline stats order).

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      String toJSONString()
      Unit writeJSONString(Writer writer)
      • Methods inherited from class kotlin.collections.MutableMap

        clear, compute, computeIfAbsent, computeIfPresent, getEntries, getKeys, getValues, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll
      • Methods inherited from class kotlin.collections.Map

        containsKey, containsValue, forEach, get, getOrDefault, getSize, isEmpty
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait