Where is CCJsonReader?

Hi,
I started to use CocoStudio to give it a try. I tried to use the exported data from Studio Editor. However, I came with a problem. According to the tutorial I have to do

CCScene * newscene = CCScene::create();
CCNode*pNode=CCJsonReader::sharedJsonReader()->createNodeWithJsonFile(“SceneEditorTest/SceneEditorTest.json”);

But I cannot find CCJsonReader anywhere inside cocos2d-x-2.2.1.

Where can I get this file? Or there is any other way to use it?

Thanks a lot

   UILayer* _lay = UILayer::create();
    addChild(_lay);
    UIWidget* wid = dynamic_cast(GUIReader::shareReader()->widgetFromJsonFile("combineUI/combineUI.json"));
    _lay->addWidget(wid);
    _lay->setPosition(ccp(p_x, 20));

I’m using cocos2d-x 2.2.2.
First Step: add the head file
include “cocos-ext.h”
using namespace cocos2d::extension;

Second Step: invoke the Scene created by cocosStudio. I found we should use SceneReader instead of CCJsonReader.
old codes:
CCScene * newscene = CCScene::create();
CCNodepNode=CCJsonReader::sharedJsonReader()->createNodeWithJsonFile(“SceneEditorTest/SceneEditorTest.json”);
new codes:
CCScene
pNode=(CCScene*)SceneReader::sharedSceneReader()->createNodeWithSceneFile(“HelloCocosStart.json”);
pDirector->runWithScene(pNode);

Hi,

I guess I will wait for v3.0 to try CocoStudio. Thing are changing a lot and I prefer to work with an stable release.

In any case, I will try this

Thanks