public static List <Dictionary <string, object> > GetOrders() { var assembly = typeof(App).GetTypeInfo().Assembly; string[] resources = assembly.GetManifestResourceNames(); Stream stream = assembly.GetManifestResourceStream("XamGridView.sample_data.json"); string json = string.Empty; using (var reader = new StreamReader(stream)) { json = reader.ReadToEnd(); } Wraps ws = JsonConvert.DeserializeObject <Wraps>(json); return(ws.wraper); }
public void BuildWraps(Wraps wr) => meal.Wraps = wr;