JSONDictionary
(class from pyomo.dataportal.plugins.json_dict)
- class pyomo.dataportal.plugins.json_dict.JSONDictionary[source]
Bases:
objectMethods
__init__()add_options(**kwds)available()clear()close()initialize(**kwds)open()process(model, data, default)Set the data for the selected components
read()This function loads data from a JSON file and tuplizes the nested dictionaries and lists of lists.
write(data)This function creates a JSON file for the specified data.
Member Documentation