#1 2019-02-23 19:26:24

ertank
Member
Registered: 2016-03-16
Posts: 168

Finding de-serialization fail position

Hello,

I have completed one big json structure record definitions. It consists of a lot of array records and sub records in it.

As expected, I cannot de-serialize it. RecordLoadJSON() returns False. Odd thing is that "as far as I can tell", all elements are assigned to their values in my record.

Is there a way to learn position of a json string that de-serialization fails at?

Thanks & regards,
Ertan

Last edited by ertank (2019-02-23 19:26:41)

Offline

#2 2019-02-23 20:48:13

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,655
Website

Re: Finding de-serialization fail position

The easiest is to use the debugger...

Offline

Board footer

Powered by FluxBB