[Gambas-user] Error in JSON decode with large json data
Safiur Rahman
isafiur at gmail.com
Fri Apr 28 11:26:52 CEST 2023
Thank you Martin for your quick response
On Fri, 28 Apr 2023, 10:29 Safiur Rahman, <isafiur at gmail.com> wrote:
> Hi
>
> I have a large valid JSON file datafile.json
> When I try to convert into Variant[]
> sText = File.Load("data/datafile.json")
> xVar = JSON.Decode(sText)
> Message.Info(xVar.Count)
>
> I get this error
> Incorrect number [JSON.ReadNumber.213]
>
> Attached a project to reproduce it
>
> --
> Regards
> Safiur Rahman
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20230428/4c78caa7/attachment.htm>
More information about the User
mailing list