public static void JSONIngredientDebug(Ingredient ing) { string serializedIng = SerializeIngredient(ing); Console.WriteLine(serializedIng); Ingredient jsonIngredient = JSONHelper.Deserialize <Ingredient>(serializedIng); Console.WriteLine(jsonIngredient.ToString()); }
public static Recipe DeSerializeRecipe(string rec) { Recipe deserializedRec = JSONHelper.Deserialize <Recipe>(rec); return(deserializedRec); }
public static Comment DeSerializeComment(string com) { Comment deserializedCom = JSONHelper.Deserialize <Comment>(com); return(deserializedCom); }
public static Ingredient DeSerializeIngredient(string ing) { Ingredient deserializedIng = JSONHelper.Deserialize <Ingredient>(ing); return(deserializedIng); }
public static Offers DeSerializeOffers(string off) { Offers deserializedOffers = JSONHelper.Deserialize <Offers>(off); return(deserializedOffers); }
public static Pictures DeSerializePictures(string pic) { Pictures deserializedPictures = JSONHelper.Deserialize <Pictures>(pic); return(deserializedPictures); }
public static Account DeSerializeAccount(string acc) { Account deserializedAcc = JSONHelper.Deserialize <Account>(acc); return(deserializedAcc); }
public static IngredientIn DeSerializeIngredientIn(string ing) { IngredientIn deserializedIngredientIn = JSONHelper.Deserialize <IngredientIn>(ing); return(deserializedIngredientIn); }
public static HasEaten DeSerializeHasEaten(string has) { HasEaten deserializedHasEaten = JSONHelper.Deserialize <HasEaten>(has); return(deserializedHasEaten); }
public static Favorises DeSerializeFavorises(string fav) { Favorises deserializedFav = JSONHelper.Deserialize <Favorises>(fav); return(deserializedFav); }
public static Retailer DeSerializeRetailer(string ret) { Retailer deserializedRet = JSONHelper.Deserialize <Retailer>(ret); return(deserializedRet); }