milardovich

Problem with JSON+PHP

Jun 16th, 2013
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.29 KB | None | 0 0
  1. <?php
  2. $json = '{
  3.     "Installed Apps":[
  4.         {
  5.             "name": "Blog",
  6.             "icon": "blog.png",
  7.             "desc": "Drop a line"
  8.         }
  9.  
  10.     ],
  11.     "General Settings":[
  12.         {
  13.             "name": "Blog",
  14.             "icon": "blog.png",
  15.             "desc": "Drop a line"
  16.         }
  17.     ]
  18. }';
  19. $json = json_decode($json);
  20. echo var_dump($json);
  21. ?>
Advertisement
Add Comment
Please, Sign In to add comment