Search found 2 matches

Go to advanced search

by stan0611
Thu Dec 21, 2017 1:57 pm
Forum: Extensions and Plugins for CSHTML5
Topic: JSON Serializer/Deserializer Extension for CSHTML5
Replies: 20
Views: 276264

Re: JSON Serializer/Deserializer Extension for CSHTML5

Also, Why does this code not work: Product p = new Product(); p.Count = 12; p.Features = new List<Feature>() { new Feature() { Name = "feat1" }, new Feature() { Name = "feat2" } }; p.IsAvailable = true; p.Name = "product 1"; p.Price = 1.99; p.ProductType = ProductType.B...
by stan0611
Thu Dec 21, 2017 1:05 pm
Forum: Extensions and Plugins for CSHTML5
Topic: JSON Serializer/Deserializer Extension for CSHTML5
Replies: 20
Views: 276264

Re: JSON Serializer/Deserializer Extension for CSHTML5

Hi, I'm trying to deserialize an array of custom objects. However, the result is the same object on every place in the array. It somehow puts the last object in the serialized array on all place on the deserialized array. I'm not doing anything exotic I think. I will test with the given examples if ...

Go to advanced search

 

 

cron