From 6a4429a5ba6671002a1db919a9b8636d1cde4919 Mon Sep 17 00:00:00 2001 From: Moritz Warning Date: Mon, 20 May 2019 23:47:51 +0200 Subject: [PATCH] update example --- examples/router_json.php | 130 ++++++++++++++++++++------------------- 1 file changed, 66 insertions(+), 64 deletions(-) diff --git a/examples/router_json.php b/examples/router_json.php index b8f1d35..6a02d4f 100755 --- a/examples/router_json.php +++ b/examples/router_json.php @@ -1,5 +1,5 @@ { - "version": "1.0.0", + "version": "1.0.1", "updated_at": "2015-04-21T11:07:21+02:00", "community": { "name": "FreifunkEmskirchen", @@ -23,8 +23,8 @@ } }, "position": { - "lat": "49.549516955195", - "long": "10.717663777727" + "lat": 49.549516955195, + "long": 10.717663777727 } }, { @@ -44,8 +44,8 @@ } }, "position": { - "lat": "49.549604000454", - "long": "10.717661375721" + "lat": 49.549604000454, + "long": 10.717661375721 } }, { @@ -65,8 +65,8 @@ } }, "position": { - "lat": "49.550671733213", - "long": "10.715538571027" + "lat": 49.550671733213, + "long": 10.715538571027 } }, { @@ -86,8 +86,8 @@ } }, "position": { - "lat": "49.550357196603", - "long": "10.718140276968" + "lat": 49.550357196603, + "long": 10.718140276968 } }, { @@ -107,8 +107,8 @@ } }, "position": { - "lat": "49.549680871682", - "long": "10.717730143260" + "lat": 49.549680871682, + "long": 10.717730143260 } }, { @@ -128,8 +128,8 @@ } }, "position": { - "lat": "49.550566881032", - "long": "10.718244890308" + "lat": 49.550566881032, + "long": 10.718244890308 } }, { @@ -149,8 +149,8 @@ } }, "position": { - "lat": "49.548967439826", - "long": "10.712683658006" + "lat": 49.548967439826, + "long": 10.712683658006 } }, { @@ -170,8 +170,8 @@ } }, "position": { - "lat": "49.552219578979", - "long": "10.710117775432" + "lat": 49.552219578979, + "long": 10.710117775432 } }, { @@ -191,8 +191,8 @@ } }, "position": { - "lat": "49.550087595520", - "long": "10.717746926209" + "lat": 49.550087595520, + "long": 10.717746926209 } }, { @@ -212,8 +212,8 @@ } }, "position": { - "lat": "49.554400069231", - "long": "10.704671914049" + "lat": 49.554400069231, + "long": 10.704671914049 } }, { @@ -233,8 +233,8 @@ } }, "position": { - "lat": "49.547212932117", - "long": "10.721255006561" + "lat": 49.547212932117, + "long": 10.721255006561 } }, { @@ -254,8 +254,8 @@ } }, "position": { - "lat": "49.550404833519", - "long": "10.713155726792" + "lat": 49.550404833519, + "long": 10.713155726792 } }, { @@ -275,8 +275,8 @@ } }, "position": { - "lat": "49.550575238457", - "long": "10.715590940503" + "lat": 49.550575238457, + "long": 10.715590940503 } }, { @@ -296,8 +296,8 @@ } }, "position": { - "lat": "49.550051172598", - "long": "10.718323629891" + "lat": 49.550051172598, + "long": 10.718323629891 } }, { @@ -317,8 +317,8 @@ } }, "position": { - "lat": "49.550343927865", - "long": "10.718675712944" + "lat": 49.550343927865, + "long": 10.718675712944 } }, { @@ -338,8 +338,8 @@ } }, "position": { - "lat": "49.550015040682", - "long": "10.716977867450" + "lat": 49.550015040682, + "long": 10.716977867450 } }, { @@ -359,8 +359,8 @@ } }, "position": { - "lat": "49.551227732943", - "long": "10.708253611420" + "lat": 49.551227732943, + "long": 10.708253611420 } }, { @@ -380,8 +380,8 @@ } }, "position": { - "lat": "49.549211068851", - "long": "10.719866613747" + "lat": 49.549211068851, + "long": 10.719866613747 } }, { @@ -401,8 +401,8 @@ } }, "position": { - "lat": "49.550015040682", - "long": "10.718367251721" + "lat": 49.550015040682, + "long": 10.718367251721 } }, { @@ -422,8 +422,8 @@ } }, "position": { - "lat": "49.549872446005", - "long": "10.718741810832" + "lat": 49.549872446005, + "long": 10.718741810832 } }, { @@ -443,8 +443,8 @@ } }, "position": { - "lat": "49.549899990166", - "long": "10.718558665643" + "lat": 49.549899990166, + "long": 10.718558665643 } }, { @@ -464,8 +464,8 @@ } }, "position": { - "lat": "49.549825423761", - "long": "10.718756194533" + "lat": 49.549825423761, + "long": 10.718756194533 } }, { @@ -485,26 +485,28 @@ } }, "position": { - "lat": "49.549677098195", - "long": "10.718529882202" + "lat": 49.549677098195, + "long": 10.718529882202 } } ], - "linked": [ - { - "id": "2", - "name": "StilgarBF", - "href": "https://netmon.freifunk-emskirchen.de/user.php?user_id=2" - }, - { - "id": "3", - "name": "Christian", - "href": "https://netmon.freifunk-emskirchen.de/user.php?user_id=3" - }, - { - "id": "4", - "name": "cebramedia", - "href": "https://netmon.freifunk-emskirchen.de/user.php?user_id=4" - } - ] + "linked": { + "people": [ + { + "id": 2, + "name": "StilgarBF", + "href": "https://netmon.freifunk-emskirchen.de/user.php?user_id=2" + }, + { + "id": 3, + "name": "Christian", + "href": "https://netmon.freifunk-emskirchen.de/user.php?user_id=3" + }, + { + "id": 4, + "name": "cebramedia", + "href": "https://netmon.freifunk-emskirchen.de/user.php?user_id=4" + } + ] + } } \ No newline at end of file