Class MutableDictionary

    • Constructor Detail

      • MutableDictionary

        public MutableDictionary()
        Initialize a new empty Dictionary object.
      • MutableDictionary

        public MutableDictionary​(@NonNull
                                 Map<String,​Object> data)
        Creates a new MutableDictionary with content from the passed Map. Allowed value types are List, Date, Map, Number, null, String, Array, Blob, and Dictionary. If present, Lists, Maps and Dictionaries may contain only the above types.
        Parameters:
        data - the dictionary content map.
      • MutableDictionary

        public MutableDictionary​(@NonNull
                                 String json)
        Creates a new MutableDictionary with content from the passed JSON string.
        Parameters:
        json - the dictionary content as a JSON string.