codepad
[
create a new paste
]
login
|
about
Language:
C
C++
D
Haskell
Lua
OCaml
PHP
Perl
Plain Text
Python
Ruby
Scheme
Tcl
<?php $json = '{"feed":[{"ab:test":{"value":"foo"}},{"ab:test":{"value":"bar"}}]}'; $json_output = json_decode( $json ); foreach ( $json_output->feed as $feed ) { print_r( $feed->{'ab:test'}->value ); }
Private
[
?
]
Run code
Submit