git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Refactored and fixed test suite to run async tests
[jquery.git]
/
build
/
test
/
data
/
json.php
diff --git a/build/test/data/json.php
b/build/test/data/json.php
new file mode 100644
(file)
index 0000000..
31668cf
--- /dev/null
+++ b/
build/test/data/json.php
@@ -0,0
+1,8
@@
+<?php
\r
+$json = $_REQUEST['json'];
\r
+if($json) {
\r
+ echo '[ {"name": "John", "age": 21}, {"name": "Peter", "age": 25 } ]';
\r
+} else {
\r
+ echo '{ "data": {"lang": "en", "length": 25} }';
\r
+}
\r
+?>
\ No newline at end of file