Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 770 Bytes

README.md

File metadata and controls

21 lines (16 loc) · 770 Bytes

cocos2dx-json

C++ JSON parsing library for cocos2d-x, migrated from WiEngine code

Requirement

cocos2dx-json project refers cocos2d-x project. You must clone cocos2d-x repository to a folder named "cocos2d-x", and then clone cocos2dx-json in the same parent folder.

I put some common code to https://github.com/stubma/cocos2dx-common, so also clone it in the same parent folder. The cocos2dx-common is referred by all my cocos2d-x extensions.

Demo

There is a test project in test folder, it supports iOS and android. If you want other platform, do it yourself.

How to use

For iOS, just drag cocos2dx-json project into your project. For Android, just import cocos2dx-json module. If not clear, refer to demo code.