codepad
[
create a new paste
]
login
|
about
Language:
C
C++
D
Haskell
Lua
OCaml
PHP
Perl
Plain Text
Python
Ruby
Scheme
Tcl
<?php $json = '{ "id": 8443685, "sku": "KEN000025", "smallThumbnailUrl": "picture URL here", "thumbnailUrl": "thumbnail URL here", "imageUrl": "image URL here", "name": "Kenwood Excelon KFC-X173", "price": 99.99, "weight": 1.0, "url": "long URL here", "description": "long description here", "options": [], "taxes": [], "galleryImages": [], "categories": [ { "id": 769355, "thumbnailUrl": "url here", "name": "Speakers", "url": "url here", "description": "" }, { "id": 1466304, "parentId": 1466305, "thumbnailUrl": "URL here", "name": "Kenwood", "url": "URL here", "description": "" } ], "dateAdded": 1325037351 }'; $decoded_json = json_decode($json); var_dump($decoded_json);
Private
[
?
]
Run code
Submit