yii json webservice

Hi, i want to implement json web service.i have tried implementing with soap and xml.but is there any extension or code available for json based web service?the problem is how to consume it in other application.any code or reference for that will be appreciable.

In the following topic of the guide Special Topics: Web Service there are simple code snippets which should help you to solve your problem.

Also be sure you have enabled the PHP SOAP extension (read the red note in the guide)

CJSON will help you with json

for example: