463
Throw New Exception(String.Format("Expected a ',' instead of a '{0}' at position: {1}.", source(tempIndex), tempIndex))
1
Imports System
2
Imports System.Collections.Generic
3
Imports System.Globalization
4
Imports System.Xml
5
Imports System.Xml.Linq
6
Public Module Module1
7
Public Sub Main()
8
Const literal = "{" &
9
" ""glossary"": {" & _
10
" ""title"": ""example glossary""," & _
11
" ""GlossDiv"": {" & _
12
" ""title"": ""S""," & _
13
" ""GlossList"": {" & _
14
" ""GlossEntry"": {" & _
15
" ""ID"": ""SGML""," & _
16
" ""SortAs"": ""SGML""," & _
17
" ""GlossTerm"": ""Standard Generalized Markup Language""," & _
18
" ""Acronym"": ""SGML""," & _
19
" ""Abbrev"": ""ISO 8879:1986""," & _
20
" ""GlossDef"": {" & _
21
" ""para"": ""A meta-markup language, used to create markup languages such as DocBook.""," & _
22
" ""GlossSeeAlso"": [""GML"", ""XML""]" & _
23
" }," & _
24
" ""GlossSee"": ""markup""" & _
Cached Result
Json.NET version: Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
Original JSON:
{"records":[{"record":{"Ch_ID":"27","User_id":"1","Ch_Name":"test1","Ch_Description":"test1description","Ch_Starttime":""}},{"record":{"Ch_ID":"29","User_id":"1","Ch_Name":"w","Ch_Description":"ww","Ch_Starttime":"12"}},{"record":{"Ch_ID":"30","User_id":"1","Ch_Name":"qq","Ch_Description":"qqqdescription","Ch_Starttime":"1222"}},{"record":{"Ch_ID":"31","User_id":"1","Ch_Name":"v","Ch_Description":"vv","Ch_Starttime":"1"}},{"record":{"Ch_ID":"32","User_id":"1","Ch_Name":"n","Ch_Description":"nnnn","Ch_Starttime":"111"}}]}
Re-serialized data table:
[
{
"Ch_ID": "27",
"User_id": "1",
"Ch_Name": "test1",
"Ch_Description": "test1description",
"Ch_Starttime": ""
},
{
"Ch_ID": "29",
"User_id": "1",
"Ch_Name": "w",
"Ch_Description": "ww",
"Ch_Starttime": "12"
},
{
"Ch_ID": "30",
"User_id": "1",
"Ch_Name": "qq",
"Ch_Description": "qqqdescription",
"Ch_Starttime": "1222"
},
{
"Ch_ID": "31",
"User_id": "1",
"Ch_Name": "v",
"Ch_Description": "vv",
"Ch_Starttime": "1"
},
{
"Ch_ID": "32",
"User_id": "1",
"Ch_Name": "n",
"Ch_Description": "nnnn",
"Ch_Starttime": "111"
}
]
Original JSON:
{"records":[{"record":{"Ch_ID":"27","User_id":"1","Ch_Name":"test1","Ch_Description":"test1description","Ch_Starttime":""}},{"record":{"Ch_ID":"29","User_id":"1","Ch_Name":"w","Ch_Description":"ww","Ch_Starttime":"12"}},{"record":{"Ch_ID":"30","User_id":"1","Ch_Name":"qq","Ch_Description":"qqqdescription","Ch_Starttime":"1222"}},{"record":{"Ch_ID":"31","User_id":"1","Ch_Name":"v","Ch_Description":"vv","Ch_Starttime":"1"}},{"record":{"Ch_ID":"32","User_id":"1","Ch_Name":"n","Ch_Description":"nnnn","Ch_Starttime":"111"}}]}
Re-serialized data table:
[
{
"Ch_ID": "27",
"User_id": "1",
"Ch_Name": "test1",
"Ch_Description": "test1description",
"Ch_Starttime": ""
},
{
"Ch_ID": "29",
"User_id": "1",
"Ch_Name": "w",
"Ch_Description": "ww",
"Ch_Starttime": "12"
},
{
"Ch_ID": "30",
"User_id": "1",
"Ch_Name": "qq",
"Ch_Description": "qqqdescription",
"Ch_Starttime": "1222"
},
{
"Ch_ID": "31",
"User_id": "1",
"Ch_Name": "v",
"Ch_Description": "vv",
"Ch_Starttime": "1"
},
{
"Ch_ID": "32",
"User_id": "1",
"Ch_Name": "n",
"Ch_Description": "nnnn",
"Ch_Starttime": "111"
}
]