We are integrating your api in our project. But after configuring the chargeBee environment, we call ChargeBee_Subscription::all() it returns the object instead of json data. Is is right or something is wrong with me?
The API calls return a JSON object as response, from which you would be able to access the relevant elements.
For example, for the list subscriptions API call, if your variable is called $create_asset_ids, you can access the subsription object element using $create_asset_ids->subscription();
You can find the sample API call and response here.
Let us know if you need more clarification.