IPCA: Convert JSON file to UNIX format 39/22139/2
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Fri, 18 Aug 2017 12:02:40 +0000 (14:02 +0200)
committerMats Wichmann <mats@linux.com>
Fri, 22 Sep 2017 14:02:57 +0000 (14:02 +0000)
Bug: https://jira.iotivity.org/browse/IOT-1745
Change-Id: I4e95cda451f0ec2ba3f0363de748fe68c15869a4
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
resource/IPCA/samples/ElevatorServer/ElevatorServerSecurityDB.json

index 44a42fb..bcd4e69 100644 (file)
@@ -1,62 +1,62 @@
-{\r
-    "acl": {\r
-        "aclist2": [\r
-            {\r
-                "aceid": 1,\r
-                "subject": { "conntype": "anon-clear" },\r
-                "resources": [\r
-                    { "href": "/oic/res" },\r
-                    { "href": "/oic/d" },\r
-                    { "href": "/oic/p"}\r
-                ],\r
-                "permission": 2\r
-            },\r
-            {\r
-                "aceid": 2,\r
-                "subject": { "conntype": "auth-crypt" },\r
-                "resources": [\r
-                    { "href": "/oic/res" },\r
-                    { "href": "/oic/d" },\r
-                    { "href": "/oic/p"}\r
-                ],\r
-                "permission": 2\r
-            },\r
-            {\r
-                "aceid": 3,\r
-                "subject": { "conntype": "anon-clear" },\r
-                "resources": [\r
-                    { "href": "/oic/sec/doxm" }\r
-                ],\r
-                "permission": 14\r
-            },\r
-            {\r
-                "aceid": 4,\r
-                "subject": { "conntype": "auth-crypt" },\r
-                "resources": [\r
-                    { "href": "/oic/sec/doxm" },\r
-                    { "href": "/oic/sec/roles" }\r
-                ],\r
-                "permission": 14\r
-            }\r
-        ],\r
-        "rowneruuid": ""\r
-    },\r
-    "pstat": {\r
-        "dos": {"s": 1, "p": false},\r
-        "isop": false,\r
-        "cm": 2,\r
-        "tm": 0,\r
-        "om": 4,\r
-        "sm": 4,\r
-        "rowneruuid": ""\r
-    },\r
-    "doxm": {\r
-        "oxms": [0, 1, 65280],\r
-        "oxmsel": 0,\r
-        "sct": 9,\r
-        "owned": false,\r
-        "deviceuuid": "",\r
-        "devowneruuid": "",\r
-        "rowneruuid": ""\r
-    }\r
+{
+    "acl": {
+        "aclist2": [
+            {
+                "aceid": 1,
+                "subject": { "conntype": "anon-clear" },
+                "resources": [
+                    { "href": "/oic/res" },
+                    { "href": "/oic/d" },
+                    { "href": "/oic/p"}
+                ],
+                "permission": 2
+            },
+            {
+                "aceid": 2,
+                "subject": { "conntype": "auth-crypt" },
+                "resources": [
+                    { "href": "/oic/res" },
+                    { "href": "/oic/d" },
+                    { "href": "/oic/p"}
+                ],
+                "permission": 2
+            },
+            {
+                "aceid": 3,
+                "subject": { "conntype": "anon-clear" },
+                "resources": [
+                    { "href": "/oic/sec/doxm" }
+                ],
+                "permission": 14
+            },
+            {
+                "aceid": 4,
+                "subject": { "conntype": "auth-crypt" },
+                "resources": [
+                    { "href": "/oic/sec/doxm" },
+                    { "href": "/oic/sec/roles" }
+                ],
+                "permission": 14
+            }
+        ],
+        "rowneruuid": ""
+    },
+    "pstat": {
+        "dos": {"s": 1, "p": false},
+        "isop": false,
+        "cm": 2,
+        "tm": 0,
+        "om": 4,
+        "sm": 4,
+        "rowneruuid": ""
+    },
+    "doxm": {
+        "oxms": [0, 1, 65280],
+        "oxmsel": 0,
+        "sct": 9,
+        "owned": false,
+        "deviceuuid": "",
+        "devowneruuid": "",
+        "rowneruuid": ""
+    }
 }
\ No newline at end of file