deserialize Inventory
Deserialize an Inventory from a JSON string.
Return
the deserialized Inventory
Parameters
jsons
the JSON string
settings Manager
the SettingsManager to retrieve the title
Throws
Invalid Configuration Exception
open fun deserializeInventory(jsons: String, title: String, settingsManager: SettingsManager): Inventory(source)
Deserialize an Inventory from a JSON string.
Return
the deserialized Inventory
Parameters
jsons
the JSON string
title
the title of the Inventory
settings Manager
the SettingsManager to retrieve the title if none is provided
Throws
Invalid Configuration Exception