Need to parse the json array using php : <p>i have a json array like below,</p>

<pre><code>{
    "months": {
        "1": ["1"],
        "2": ["10"]
    },
    "days": {
        "1": ["1", "2"],
        "2": ["2", "3"]
    }
}
</code></pre>

<p>i need to parse this in php. Need months and days values.
Thanks in advance..</p>
