I am getting parsing error 1002 using parser YAJLINTO after 100000 bytes parsed. Is this a limitation of the parser?
YAJL parser status 0 after 100000 bytes
YAJL parser final status: 2
YAJL error: parse error: premature EOF
ReportError, RC = 1002
- Bytes parsed: 100000
Terminating due to error
Press ENTER to end terminal session.
Parsing error 1002
-
- Site Admin
- Posts: 872
- Joined: Sun Jul 04, 2021 5:12 am
Re: Parsing error 1002
I'm not aware of any such limitations. Is it possible that your JSON data is loaded into a 100000 variable before you call DATA-INTO, and that the 100000 isn't large enough?
Re: Parsing error 1002
I was using HTTP_String() to retrieve the JSON data, changed it to HTTP_req() and it works.
Thanks for the response.
Thanks for the response.