git.asbjorn.biz
/
jquery.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Tagging the 1.4a2 release.
[jquery.git]
/
test
/
data
/
json.php
1
<?php
2
error_reporting(0);
3
$json = $_REQUEST['json'];
4
if($json) {
5
echo '[ {"name": "John", "age": 21}, {"name": "Peter", "age": 25 } ]';
6
} else {
7
echo '{ "data": {"lang": "en", "length": 25} }';
8
}
9
?>