Closed enponder closed 2 years ago
Hi @enponder,
Unfortunately I'm not able to reproduce the error you faced. Could you please attach the whole workbook to the message, including all JSON related modules and subtitles_json_one
, subtitles_json_two
content (at least the parts reproducing the error, removed sensitive data). Drag'n'drop zipped workbook into the message to attach it.
Hi @enponder, Unfortunately I'm not able to reproduce the error you faced. Could you please attach the whole workbook to the message, including all JSON related modules and
subtitles_json_one
,subtitles_json_two
content (at least the parts reproducing the error, removed sensitive data). Drag'n'drop zipped workbook into the message to attach it.
I just debuged my code, I found that I made a programming mistake in it. This is totally wrong in my code logic.
In generally, I'm looping through the child elements of the vjson
, but at the same time I'm trying to reassign the vjson
again. This is completely a code logic error, not a json module
error. Now I've fixed it and it's working fine. I'm so sorry for wasting your time reading the problem caused by the logic error in my code, I'm so sorry
No problem! Good luck with your project.
hi I referenceed the JSON for 2 times in the same module, then threw a error that it said "This array is fixed or temporarily locked".the follow is code example:
I know why it's erroring out. This error occurs because
subtitles_json_one
generates avjson
, and continues to use thevjson
that has not been reset insubtitles_json_two
. I would like to know how to resetvjson
so that I can re-assignvjson
. I have tried similarerase
statement but still can't resetvjson
. If you continue without resettingvjson
, you will get an error that it said "This array is fixed or temporarily" I know I can redefine a new variable in place ofvjson
, but apparently I'm just bypassing such issues, but I can't figure out how to resetvjson
The code below is the solution, by defining new variables, but that's not what I want, what I want is how to be able to reset the data of the
vjson
: