Jump to content

[SOLVED] script Json Question


photo

Recommended Posts

Posted

https://developer.unigine.com/forum/topic/3728-solved-adding-xml-child-causes-crash-on-changing-worlds/?tab=comments#comment-19621

We confirmed that this address is Script Ownership. Do you have to use json file like 2.0 - beta as above?
we use 2.0-beta version Unigine Engine.

 

Is it necessary to call find from another json?

 

ex)
...

Json _json1 = new Json ();
json.parse (strMessage); //

Json _json2 = _json1.find ("foo");  // class_remove ?
...

 

Thanks !!

Posted

Hi, guade!

You don't need to call class_remove in this case. Use class_remove when you use the "new" operator only.

Best regards,
Alexander

Posted (edited)
Thanks!
Edited by guade
  • silent changed the title to [SOLVED] script Json Question
×
×
  • Create New...