Before starting with CRUD operations, recommend learn about:
How to create properties from variables in J...
Some comments have been hidden by the post's author - find out more
For further actions, you may consider blocking this person and/or reporting abuse
hhh i like it really ... thank you
why i get a problem Expected a JSON object, array or literal just for the data
Please add an image or the code where you get the error and the operation your are trying to do.
pardon me, is there any tutorial video for this program? or like the detail steps from the start
I do have one, but in spanish: Curso de JSON de Novato a Experto.
You can run those commands in a Browser Terminal (Developer Mode) or in a programm called Run JS
thank you sm sir, i just used RunJS program for this and it was easier...
Hey Camilo, instead of using delete, you could set the pointer to null. #perfTip :p
Sorry I'm lost, could you please write the example code?
On
delete
operation you can usegot[character] = null;
instead ofdelete got[character];
. Take a look on jsperf.com/delete-vs-undefined-vs-...Not works as CRU*D* operation, because the 'character' is not removed, just the values are replaced by
null
.I tested changing on Delete script. When run the script show:
Tyrion: null
.Can be used if you want leave the character, but remove his data.
Nice link BTW. I did not know about the performance comparison between
null
anddelete