Posts

Showing posts from January, 2016

Convert JSON string to Array in php

$json_string='{ "title": "PHP: The Definitive Guide", "author": "Arun Verma", }';$res=json_decode($json,true);echo$res ['title']; //PHP: The Definitive Guide