.csb file in Cocos2d-JS 3.7.1

Hi,

Can I use .csb file in cocos2d-JS 3.7.1? If not, how can I covert them to .json?
Thanks a lot

I assumed that you were playing with Cocos2d-x Lua projects, therefore you are having .csb files.
Unfortunately, I had already tried to load csb in Cocos2d-x JS but it didnt work.
You should republish your .csd file in CocosStudio, there is a setting button near the publish button which allows you to publish as .json files.
I used the code below :

var myLayer = ccs.csLoader.createNode("res/MyLayer.json");

Then you can add your myLayer to your Scene or other Layer as usual.

Thanks for your answer. But I’ve lost all .csd file, so I want to convert .csb files to json. how can I do?