I have a json file with approximately 56,000 characters and 19 array object. when i try parser this file encounter an error. code follows below.
with notepad ++ jsonviewer plugin, I can see the whole structure formed parser. The file pageTwitter.json is correct.
the error message is: Unterminated string at character 46859 of ....
the file pageTwitter.txt is in attachments ! i change the extension to upload
with notepad ++ jsonviewer plugin, I can see the whole structure formed parser. The file pageTwitter.json is correct.
the error message is: Unterminated string at character 46859 of ....
the file pageTwitter.txt is in attachments ! i change the extension to upload
B4X:
Dim parser As JSONParser
Dim ListaMatriz As List
parser.Initialize(File.ReadString(File.DirRootExternal, pageTwitter.json"))
Log("pageTwitter:" & parser)
ListaMatriz.Initialize
ListaMatriz.Clear
[COLOR="Red"]ListaMatriz = parser.NextArray (ERROR !)[/COLOR]