Proper way to load json scene inside Cocos 2d JS project

Hello.
I was happy to find such a great thing as Cocos Studio but I completely stuck on how to use json files generated by it.
I tried different ways and finally came to conclusion Cocos Studio exported files have different structure than Cocos engine expects.
Can you please clarify what am I doing wrong?
I even asked on SO

var studioData = ccs.load(‘res/something.json’);

this.addChild(studioData.node);

You also need to add cocostudio to your project.json

"modules" : ["cocos2d","cocostudio"],

That should do the trick.

1 Like

fantastic! this is exactly I missed! a week of resultless researching((
thanks bro)