Exemple #1
0
        public static Ingredient DeSerializeIngredient(string ing)
        {
            Ingredient deserializedIng = JSONHelper.Deserialize <Ingredient>(ing);

            return(deserializedIng);
        }
Exemple #2
0
        //Ingredient
        public static string SerializeIngredient(Ingredient ing)
        {
            string serializedIng = JSONHelper.Serialize <Ingredient>(ing);

            return(serializedIng);
        }