Add apps/examples/wgetjson from Darcy Gong

git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5281 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2012-10-31 16:04:45 +00:00
parent 26cbab4570
commit 33a3edbaf7
11 changed files with 472 additions and 9 deletions
@@ -0,0 +1,13 @@
<?php
/*
$json = "{\n\"name\": \"Jack (\\\"Bee\\\") Nimble\", \n\"format\": {\"type\": \"rect\", \n\"width\": 1920, \n\"height\": 1080, \n\"interlace\": false,\"frame rate\": 24\n}\n}";
*/
$ja["name"] = "Jack (\"Bee\") Nimble";
$ja["format"]["type"] = "rect";
$ja["format"]["width"] = 1920;
$ja["format"]["height"] = 1080;
$ja["format"]["interlace"] = false;
$ja["format"]["frame rate"] = 24;
echo json_encode($ja);
?>