3

I've got the following JSON string which I have retrieved from a webapi:

[{"WorkOrderID":2,"WorkOrderNumber":1},{"WorkOrderID":3,"WorkOrderNumber":3}]

Now I want to know if there is a way I can deserialize this into a list of type dynamic in VB.NET?

The JSON string could be coming in any format (therefore I cannot deserialize it to a standard class type) and I just need to deserialize it into a list so it can be used a datasource for a grid.

Is this achievable.

1
  • 1
    The JSON.Net project on Codeplex might help get you started Commented Jul 25, 2013 at 23:32

1 Answer 1

2

For VB.Net:

Dim x As Object = JsonConvert.DeserializeObject(of Object)(json)
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.