Your string xdoes not contain an array, but a single JSON object.
Just use the JSON library, for example Json.NET, to parse your string:
Dim x = "{'books':[{'title':'HarryPotter','pages':'134'}]}"
Dim result = JsonConvert.DeserializeObject(x)
Console.WriteLine(result("books")(0)("title") & " - " & result("books")(0)("pages"))
Output:
HarryPotter - 134
source
share