{
"store": {
"book": [
{
"category": "reference",
"author": "Nigel Rees",
"title": "Sayings of the Century",
"price": 8.95
},
{
"category": "fiction",
"author": "Evelyn Waugh",
"title": "Sword of Honour",
"price": 12.99
},
{
"category": "fiction",
"author": "Herman Melville",
"title": "Moby Dick",
"isbn": "0-553-21311-3",
"price": 8.99
},
{
"category": "fiction",
"author": "J. R. R. Tolkien",
"title": "The Lord of the Rings",
"isbn": "0-395-19395-8",
"price": 22.99
}
],
"bicycle": {
"color": "red",
"price": 19.95
}
},
"expensive": 10
}

返回值

  {
"category" : "fiction",
"author" : "Evelyn Waugh",
"title" : "Sword of Honour",
"price" : 12.99
}

表达式

$.data.records[?(@.id=='46b3705574b8437db1f34a10724c58e0')][?(@.pushContent =~ /^.location:(.*?)/i)]

source

{"sys":"ROC","code":0,"messages":"Got by page successfully!","data":{"pageNum":1,"pageSize":10,"totalPages":415,"total":4143,"records":[{"id":"e37192db04d24e168f349335e1d0565d","tenantCode":"cloudminds","robotCode":"862851030086576","rcuId":"3e36b8ed-671e-4234-a9cd-eab63d8165d4","rcuCode":"862851030086576","userCode":"u6576","operatorCode":"liyiwan","operatorName":"李艺宛","pushToken":"a803bf987013f8528bac0da5819c6163935bf2a2","pushTime":"2019-02-20 17:43:48","pushContent":"{\"from\":\"ROC\",\"id\":\"push\",\"message\":{\"data\":{\"param\":{\"asr\":{\"credentialType\":\"CMTI\",\"logAudioEnable\":true,\"location\":\"Local\",\"language\":\"CH\",\"check\":true,\"type\":\"IFlyTek\"},\"uwb\":{\"checkDistance\":1.5,\"uwbPort\":\"9669\",\"naviMapType\":0,\"uwbAddress\":\"192.168.1.11\",\"check\":true,\"uwbEnable\":false},\"mic\":{\"micLeftHand\":true,\"micEnable\":false,\"check\":true},\"topCamera\":{\"check\":true,\"videoFps\":2},\"greeting\":{\"greetingEnable\":false,\"greetingZH\":[\"您好,欢迎光临达闼科技\"],\"check\":true,\"greetingEN\":[\"Hello, welcome to CloudMinds\"]},\"rcuCamera\":{\"videoWidth\":320,\"audioStartBps\":50,\"videoStartBps\":128,\"videoBps\":128,\"check\":true,\"audioCodec\":\"OPUS\",\"videoFps\":10,\"videoCodec\":\"VP8\",\"videoHeight\":240},\"switchControl\":{\"hourlyReportEnable\":false,\"chargeEnable\":false,\"semaphoreEnable\":false,\"logEnable\":false,\"readPptEnable\":false,\"check\":true,\"btPrintEnable\":false},\"network\":{\"accessType\":\"WIFI\",\"check\":true},\"tts\":{\"speakVolume\":50,\"language\":\"CH\",\"speakSpeed\":50,\"check\":true,\"type\":\"NuancePepper\"},\"slamWare\":{\"slamWarePort\":\"9669\",\"slamWareEnable\":false,\"slamWareAddress\":\"192.168.1.11\",\"wifiAPEnable\":false,\"check\":true},\"logo\":{\"check\":true,\"version\":0},\"faceDect\":{\"faceCameraIndex\":0,\"faceCameraEnable\":false,\"check\":true},\"dance\":{\"listDance\":[\"cm_dance/bacteria\",\"cm_dance/chengdu\",\"cm_dance/chess\",\"cm_dance/energy\",\"cm_dance/fade\",\"cm_dance/fly\",\"cm_dance/gentleman\",\"cm_dance/lupin\",\"cm_dance/nextweekfree\",\"cm_dance/saxphone\",\"cm_dance/see\",\"cm_dance/sky\"],\"check\":true,\"listAction\":[\"cloudminds/bye\",\"cloudminds/fistbump\",\"cloudminds/hand\",\"cloudminds/hug\",\"cloudminds/nauty\",\"cloudminds/phototogether\",\"cloudminds/welcome\",\"cloudminds/autoLifeOn\",\"cloudminds/autoLifeOff\",\"cloudminds/RobotStandInit\",\"cloudminds/stop\"]}},\"action\":\"configure\",\"id\":\"856024c4-d669-46a0-91ac-4c6726eb06f3\"},\"type\":\"operate\"},\"requestId\":\"c6a61150f4274a818ffa747f4fd3e96a\",\"seq\":\"e37192db04d24e168f349335e1d0565d\",\"to\":\"App\"}","pushType":"operate","pushState":1,"callbackTime":null},{"id":"a50b5f069c064db0b2439593a5f83b9e","tenantCode":"CloudPepper_Test","robotCode":"862851030058583","rcuId":"70f407d7-b742-4590-a070-ec4211a61c39","rcuCode":"862851030058583","userCode":"xing","operatorCode":"xing","operatorName":"wx","pushToken":"bdae732c1b460063247198c5c5b15907f9b0abe7","pushTime":"2019-02-20 17:43:32","pushContent":"{\"from\":\"ROC\",\"id\":\"push\",\"message\":{\"data\":{\"param\":{},\"action\":\"rcu_reboot\"},\"type\":\"operate\"},\"requestId\":\"ace29eb23ce44fef9b8cf5d11d01c9c5\",\"seq\":\"a50b5f069c064db0b2439593a5f83b9e\",\"to\":\"App\"}","pushType":"operate","pushState":1,"callbackTime":null},{"id":"90fd44b8652243bebfed5096ba969600","tenantCode":"clouds_dianmo","robotCode":"862851030005774","rcuId":"dcff66e4-32b7-42c0-a52e-151225e3a615","rcuCode":"862851030005774","userCode":"zztest0130","operatorCode":"cqtest01","operatorName":"cq","pushToken":"f0eaed50755f0245d8c37bbcb766155bffd6d8a8","pushTime":"2019-02-20 17:11:14","pushContent":"{\"from\":\"ROC\",\"id\":\"push\",\"message\":{\"data\":{\"param\":{},\"action\":\"app_restart\"},\"type\":\"operate\"},\"requestId\":\"e9c23b2860f147468d31df88a5387319\",\"seq\":\"90fd44b8652243bebfed5096ba969600\",\"to\":\"App\"}","pushType":"operate","pushState":1,"callbackTime":null},{"id":"46b3705574b8437db1f34a10724c58e0","tenantCode":"cloudminds","robotCode":"862851030086576","rcuId":"3e36b8ed-671e-4234-a9cd-eab63d8165d4","rcuCode":"862851030086576","userCode":"u6576","operatorCode":"liyiwan","operatorName":"李艺宛","pushToken":"a803bf987013f8528bac0da5819c6163935bf2a2","pushTime":"2019-02-20 17:09:40","pushContent":"{\"from\":\"ROC\",\"id\":\"push\",\"message\":{\"data\":{\"param\":{\"asr\":{\"credentialType\":\"CMTI\",\"logAudioEnable\":true,\"location\":\"Local\",\"language\":\"CH\",\"check\":true,\"type\":\"IFlyTek\"},\"uwb\":{\"checkDistance\":1.5,\"uwbPort\":\"9669\",\"naviMapType\":0,\"uwbAddress\":\"192.168.1.11\",\"check\":true,\"uwbEnable\":false},\"mic\":{\"micLeftHand\":true,\"micEnable\":false,\"check\":true},\"topCamera\":{\"check\":true,\"videoFps\":2},\"greeting\":{\"greetingEnable\":false,\"greetingZH\":[\"您好,欢迎光临达闼科技\"],\"check\":true,\"greetingEN\":[\"Hello, welcome to CloudMinds\"]},\"rcuCamera\":{\"videoWidth\":320,\"audioStartBps\":50,\"videoStartBps\":128,\"videoBps\":128,\"check\":true,\"audioCodec\":\"OPUS\",\"videoFps\":10,\"videoCodec\":\"VP8\",\"videoHeight\":240},\"switchControl\":{\"hourlyReportEnable\":false,\"chargeEnable\":false,\"semaphoreEnable\":false,\"logEnable\":false,\"readPptEnable\":false,\"check\":true,\"btPrintEnable\":false},\"network\":{\"accessType\":\"WIFI\",\"check\":true},\"tts\":{\"speakVolume\":50,\"language\":\"CH\",\"speakSpeed\":50,\"check\":true,\"type\":\"NuancePepper\"},\"slamWare\":{\"slamWarePort\":\"9669\",\"slamWareEnable\":false,\"slamWareAddress\":\"192.168.1.11\",\"wifiAPEnable\":false,\"check\":true},\"logo\":{\"check\":true,\"version\":0},\"faceDect\":{\"faceCameraIndex\":0,\"faceCameraEnable\":false,\"check\":true},\"dance\":{\"listDance\":[\"cm_dance/bacteria\",\"cm_dance/chengdu\",\"cm_dance/chess\",\"cm_dance/energy\",\"cm_dance/fade\",\"cm_dance/fly\",\"cm_dance/gentleman\",\"cm_dance/lupin\",\"cm_dance/nextweekfree\",\"cm_dance/saxphone\",\"cm_dance/see\",\"cm_dance/sky\"],\"check\":true,\"listAction\":[\"cloudminds/bye\",\"cloudminds/fistbump\",\"cloudminds/hand\",\"cloudminds/hug\",\"cloudminds/nauty\",\"cloudminds/phototogether\",\"cloudminds/welcome\",\"cloudminds/autoLifeOn\",\"cloudminds/autoLifeOff\",\"cloudminds/RobotStandInit\",\"cloudminds/stop\"]}},\"action\":\"configure\",\"id\":\"17355c52-a675-41d0-8b1c-d8ff06847043\"},\"type\":\"operate\"},\"requestId\":\"4f6c3a3f6b484e1fa568897ed2492c4e\",\"seq\":\"46b3705574b8437db1f34a10724c58e0\",\"to\":\"App\"}","pushType":"operate","pushState":2,"callbackTime":"2019-02-20 17:09:41"},{"id":"5a712842ca594742abd1ce15c4ba252e","tenantCode":"CloudPepper_Test","robotCode":"862851030058583","rcuId":"70f407d7-b742-4590-a070-ec4211a61c39","rcuCode":"862851030058583","userCode":"xing","operatorCode":"xing","operatorName":"wx","pushToken":"bdae732c1b460063247198c5c5b15907f9b0abe7","pushTime":"2019-02-20 17:07:58","pushContent":"{\"from\":\"ROC\",\"id\":\"push\",\"message\":{\"data\":{\"param\":{},\"action\":\"deactivate\"},\"type\":\"operate\"},\"requestId\":\"2a132c9543654d15b8a8ba48da4725b8\",\"seq\":\"5a712842ca594742abd1ce15c4ba252e\",\"to\":\"App\"}","pushType":"operate","pushState":2,"callbackTime":"2019-02-20 17:07:59"},{"id":"4be7283e7b5e4679be736ef79b1a8cd8","tenantCode":"clouds_dianmo","robotCode":"862851030005774","rcuId":"dcff66e4-32b7-42c0-a52e-151225e3a615","rcuCode":"862851030005774","userCode":"zztest0130","operatorCode":"cqtest01","operatorName":"cq","pushToken":"f0eaed50755f0245d8c37bbcb766155bffd6d8a8","pushTime":"2019-02-20 17:07:32","pushContent":"{\"from\":\"ROC\",\"id\":\"push\",\"message\":{\"data\":{\"param\":{},\"action\":\"rcu_reboot\"},\"type\":\"operate\"},\"requestId\":\"65f3e7e006794099a94f53ef67f96865\",\"seq\":\"4be7283e7b5e4679be736ef79b1a8cd8\",\"to\":\"App\"}","pushType":"operate","pushState":2,"callbackTime":"2019-02-20 17:07:33"},{"id":"95d17c04c39c4f53bb37e70e21abd70c","tenantCode":"CloudPepper_Test","robotCode":"862851030058583","rcuId":"70f407d7-b742-4590-a070-ec4211a61c39","rcuCode":"862851030058583","userCode":"xing","operatorCode":"xing","operatorName":"wx","pushToken":"bdae732c1b460063247198c5c5b15907f9b0abe7","pushTime":"2019-02-20 17:07:31","pushContent":"{\"from\":\"ROC\",\"id\":\"push\",\"message\":{\"data\":{\"param\":{},\"action\":\"deactivate\"},\"type\":\"operate\"},\"requestId\":\"c829eb7687934257b35adbe61648019c\",\"seq\":\"95d17c04c39c4f53bb37e70e21abd70c\",\"to\":\"App\"}","pushType":"operate","pushState":2,"callbackTime":"2019-02-20 17:07:31"},{"id":"0fada6e515fe4a14ac28a222a0fea18a","tenantCode":"CloudPepper_Test","robotCode":"862851030058583","rcuId":"70f407d7-b742-4590-a070-ec4211a61c39","rcuCode":"862851030058583","userCode":"xing","operatorCode":"xing","operatorName":"wx","pushToken":"bdae732c1b460063247198c5c5b15907f9b0abe7","pushTime":"2019-02-20 17:06:58","pushContent":"{\"from\":\"ROC\",\"id\":\"push\",\"message\":{\"data\":{\"param\":{},\"action\":\"robot_wakeup\"},\"type\":\"operate\"},\"requestId\":\"0ed90477214b450e8c42a8a51dc7d9cc\",\"seq\":\"0fada6e515fe4a14ac28a222a0fea18a\",\"to\":\"App\"}","pushType":"operate","pushState":2,"callbackTime":"2019-02-20 17:06:59"},{"id":"7da6c84939ae469bb8326a2db29e98df","tenantCode":"CloudPepper_Test","robotCode":"862851030058583","rcuId":"70f407d7-b742-4590-a070-ec4211a61c39","rcuCode":"862851030058583","userCode":"xing","operatorCode":"xing","operatorName":"wx","pushToken":"bdae732c1b460063247198c5c5b15907f9b0abe7","pushTime":"2019-02-20 17:06:50","pushContent":"{\"from\":\"ROC\",\"id\":\"push\",\"message\":{\"data\":{\"param\":{},\"action\":\"robot_wakeup\"},\"type\":\"operate\"},\"requestId\":\"02c509192a9c4b7890ffdb7da8547521\",\"seq\":\"7da6c84939ae469bb8326a2db29e98df\",\"to\":\"App\"}","pushType":"operate","pushState":2,"callbackTime":"2019-02-20 17:06:51"},{"id":"a260926445834d72832967e87c7f9fb8","tenantCode":"CloudPepper_Test","robotCode":"862851030058583","rcuId":"70f407d7-b742-4590-a070-ec4211a61c39","rcuCode":"862851030058583","userCode":"xing","operatorCode":"xing","operatorName":"wx","pushToken":"bdae732c1b460063247198c5c5b15907f9b0abe7","pushTime":"2019-02-20 17:06:46","pushContent":"{\"from\":\"ROC\",\"id\":\"push\",\"message\":{\"data\":{\"param\":{},\"action\":\"robot_rest\"},\"type\":\"operate\"},\"requestId\":\"cec178ab3561449bb2e794890eb978c6\",\"seq\":\"a260926445834d72832967e87c7f9fb8\",\"to\":\"App\"}","pushType":"operate","pushState":2,"callbackTime":"2019-02-20 17:06:47"}]},"errors":null,"action":0,"script":""}

返回

[
"46b3705574b8437db1f34a10724c58e0",
"cloudminds",
"862851030086576",
"3e36b8ed-671e-4234-a9cd-eab63d8165d4",
"862851030086576",
"u6576",
"liyiwan",
"李艺宛",
"a803bf987013f8528bac0da5819c6163935bf2a2",
"2019-02-20 17:09:40",
"{\"from\":\"ROC\",\"id\":\"push\",\"message\":{\"data\":{\"param\":{\"asr\":{\"credentialType\":\"CMTI\",\"logAudioEnable\":true,\"location\":\"Local\",\"language\":\"CH\",\"check\":true,\"type\":\"IFlyTek\"},\"uwb\":{\"checkDistance\":1.5,\"uwbPort\":\"9669\",\"naviMapType\":0,\"uwbAddress\":\"192.168.1.11\",\"check\":true,\"uwbEnable\":false},\"mic\":{\"micLeftHand\":true,\"micEnable\":false,\"check\":true},\"topCamera\":{\"check\":true,\"videoFps\":2},\"greeting\":{\"greetingEnable\":false,\"greetingZH\":[\"您好,欢迎光临达闼科技\"],\"check\":true,\"greetingEN\":[\"Hello, welcome to CloudMinds\"]},\"rcuCamera\":{\"videoWidth\":320,\"audioStartBps\":50,\"videoStartBps\":128,\"videoBps\":128,\"check\":true,\"audioCodec\":\"OPUS\",\"videoFps\":10,\"videoCodec\":\"VP8\",\"videoHeight\":240},\"switchControl\":{\"hourlyReportEnable\":false,\"chargeEnable\":false,\"semaphoreEnable\":false,\"logEnable\":false,\"readPptEnable\":false,\"check\":true,\"btPrintEnable\":false},\"network\":{\"accessType\":\"WIFI\",\"check\":true},\"tts\":{\"speakVolume\":50,\"language\":\"CH\",\"speakSpeed\":50,\"check\":true,\"type\":\"NuancePepper\"},\"slamWare\":{\"slamWarePort\":\"9669\",\"slamWareEnable\":false,\"slamWareAddress\":\"192.168.1.11\",\"wifiAPEnable\":false,\"check\":true},\"logo\":{\"check\":true,\"version\":0},\"faceDect\":{\"faceCameraIndex\":0,\"faceCameraEnable\":false,\"check\":true},\"dance\":{\"listDance\":[\"cm_dance/bacteria\",\"cm_dance/chengdu\",\"cm_dance/chess\",\"cm_dance/energy\",\"cm_dance/fade\",\"cm_dance/fly\",\"cm_dance/gentleman\",\"cm_dance/lupin\",\"cm_dance/nextweekfree\",\"cm_dance/saxphone\",\"cm_dance/see\",\"cm_dance/sky\"],\"check\":true,\"listAction\":[\"cloudminds/bye\",\"cloudminds/fistbump\",\"cloudminds/hand\",\"cloudminds/hug\",\"cloudminds/nauty\",\"cloudminds/phototogether\",\"cloudminds/welcome\",\"cloudminds/autoLifeOn\",\"cloudminds/autoLifeOff\",\"cloudminds/RobotStandInit\",\"cloudminds/stop\"]}},\"action\":\"configure\",\"id\":\"17355c52-a675-41d0-8b1c-d8ff06847043\"},\"type\":\"operate\"},\"requestId\":\"4f6c3a3f6b484e1fa568897ed2492c4e\",\"seq\":\"46b3705574b8437db1f34a10724c58e0\",\"to\":\"App\"}",
"operate",
2,
"2019-02-20 17:09:41"
]

随机推荐

  1. 【leetcode刷题笔记】Remove Duplicates from Sorted Array II

    Follow up for "Remove Duplicates":What if duplicates are allowed at most twice? For exampl ...

  2. BLOB (binary large object)

    BLOB (binary large object),二进制大对象,是一个可以存储二进制文件的容器. 在计算机中,BLOB常常是数据库中用来存储二进制文件的字段类型. BLOB是一个大文件,典型的BL ...

  3. BZOJ4545: DQS的trie

    BZOJ4545: DQS的trie https://lydsy.com/JudgeOnline/problem.php?id=4545 分析: 对trie用dfs建sam复杂度是\(O(n^2)\) ...

  4. BZOJ4003:[JLOI2015]城池攻占

    浅谈左偏树:https://www.cnblogs.com/AKMer/p/10246635.html 题目传送门:https://lydsy.com/JudgeOnline/problem.php? ...

  5. docker-ce安装与搭建私有仓库

    https://www.cnblogs.com/sszhou/p/7389144.html 系统环境centos7 ###docker-ce安装###1.卸载老版本,较老版本的Docker被称为doc ...

  6. 【转】 Pro Android学习笔记(二一):用户界面和控制(9):Gallery和SimpleAdapter

    Gallery画廊式控件,如图所示,但是在API level 16,也即Android 4.1,被deprecated,可以使用HorizontableScroolView和ViewPager.但是后 ...

  7. K Sum(2 Sum,3 Sum,4 Sum,3-Sum Closest)

    算是经典算法问题了.这里主要针对只存在一个解或者只需要求一个解的情况描述一下解题思路.若需要找到所有可能解,方法需要略作调整.如有问题,欢迎指正. 2 sum: 如果已排序,可直接用夹逼法,即两指针从 ...

  8. js产生不同的随机数

    前言:前几天写到一个程序,用到要使用不同随机数的方法,结果愣是整了半天没整出来,说来也是惭愧啊(亏我还是软件工程的学生,其实这个问题以前遇到过,只是我逃避了,哎,自己刨的坑终究会把自己陷进去,╮(╯▽ ...

  9. ES6学习之装饰器

    定义:修饰器是一个对类进行处理的函数,用来修改类的行为 <注>:装饰器只能用来修改类及类的方法 类的装饰: 静态属性:只能通过类访问,修饰函数直接在类上操作 @testable class ...

  10. <正则吃饺子> :关于使用pd创建表时需要注意的地方

    公司项目使用pd设计数据库表.之前用过,但是年代比较久远了,有些细节忘记了,今天重新使用时候,生疏了,现在稍微记录下吧. 1.pd创建表的使用,可以直接从网上搜索,博文比较多,如 “pd 设计数据库表 ...