I have JSON input as follows:
$json='{"PollQuestion":"Which is biggest country","Isactive":1,"options":[{"option":"abc"},{"option":"xyz"},{"option":"acssr"}]}'
$obj=json_encode($json);
So how to access options fields and individual option? I want to put these options in option table. Please help me in parsing this json input in php (Yii framework).