public ItemContainerSerializationModel DeserializeContainer(object serializedData)
        {
            Assert.IsTrue(serializedData is string, "Serialized data is not string, json collection serializer can only use a JSON string.");

            var model = new ItemContainerSerializationModel();

            JsonSerializer.DeserializeTo(ref model, serializedData as string, null);

            return(model);
        }
        public object SerializeContainer(IInventoryItemContainer container)
        {
            var serializationModel = new ItemContainerSerializationModel(container);

            return(JsonSerializer.Serialize(serializationModel, null));
        }