Imports System.Collections
Imports System.Collections.Generic
Imports System.Globalization
Imports System.Reflection
Imports System.ComponentModel.DataAnnotations
Imports Microsoft.VisualBasic
Imports Newtonsoft.Json.Linq
Imports Newtonsoft.Json.Converters
Imports Newtonsoft.Json.Serialization
Dim json as String = GetJson()
Dim options As JObject = JObject.Parse(json)
For Each jProperty As JProperty In options("data")
Dim propertyName = jProperty.Name
Dim opt As JObject = jProperty.Value
Dim name As String = opt("name")
Function GetJson() as String
Dim Jstring As String = <![CDATA[
Console.WriteLine("Environment version: " & Environment.Version.ToString())
Console.WriteLine("Json.NET version: " & GetType(JsonSerializer).Assembly.FullName)
Console.WriteLine("Unhandled exception: ")