Thanks for the link. I played around with it and it looks like this may be what I am trying to do:
create an object and then reference certain properties from that object. You wouldn't know how to do this in VB.NET or point me in the right direction? Thanks again.
1JObject o = new JObject(
2new JProperty("Name", "John Smith"),
3new JProperty("BirthDate", new DateTime(1983, 3, 20))
4 );
5 6JsonSerializer serializer = new JsonSerializer();
7Person p = (Person)serializer.Deserialize(new JTokenReader(o), typeof(Person));
8 9Console.WriteLine(p.Name);
10// John Smith
Member
1 Points
9 Posts
Re: JayRock JSON/VB.NET
Apr 02, 2013 10:29 PM|gmatteson|LINK
Thanks for the link. I played around with it and it looks like this may be what I am trying to do:
create an object and then reference certain properties from that object. You wouldn't know how to do this in VB.NET or point me in the right direction? Thanks again.