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