Code: Select all
Define json.i = CreateJSON(#PB_Any)
Define datas$ = "[1, 2, 3, 4, 5]"
ParseJSON(json, datas$)
[ERROR]#JSON object number is very high (over 10000), are you sure of that?
and stop the compilation
Code: Select all
Define json.i = CreateJSON(#PB_Any)
Define datas$ = "[1, 2, 3, 4, 5]"
ParseJSON(json, datas$)
Code: Select all
Define datas$ = "[1, 2, 3, 4, 5]"
Define json.i = ParseJSON(#PB_Any, datas$)
Neither. It's actually a runtime error. Disable the debugger and you won't get an error.benmalartre wrote:It's not a compilation warning, it's a compilation error!!
What's the problem? You just shouldn't reuse a dynamic ID generated with #PB_ANY as a static one. And you don't need to create a JSON object before ParseJSON.rzoo1 wrote:I also face this issue. I've tried Kenmo's guide, but it can't work well