$.store.book[?(@.title =~ /^.*Honour.*$/i)]
{
"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"
]
随机推荐
- windows 7下mingw+msys编译ffmpeg
windows 7下mingw+msys编译ffmpeg 1-->下载安装MingW,mingw-get-inst-20120426.exe http://sourceforge.ne ...
- 流媒体直播服务器:Bull-Live-Server
Bull Live Server 简称 BLS ,旨在使用C++语言提供强大功能和高性能的流媒体直播服务器. 为何要写 BLS ? 1.simple rtmp server https://githu ...
- Operating System-进程/线程内部通信-竞争条件(Race Conditions)
从本文开始介绍进程间的通信,进程间通信遇到的问题以及方式其实和线程之间通信是一致的,所以进程间通信的所有理论知识都可以用在线程上,接下来的系列文章都会以进程之间的通信为模版进行介绍,本文主要内容: 进 ...
- 使用Visual Studio进行单元测试-Part5
本文主要介绍Visual Studio(2012+)单元测试框架的一些技巧: 如何模拟类的静态构造函数 如何测试某方法被调用过 如何测试某方法执行的次数 并行编程测试注意事项 一.如何模拟类的静态构造 ...
- 2018.10.30 一题 洛谷4660/bzoj1168 [BalticOI 2008]手套——思路!问题转化与抽象!+单调栈
题目:https://www.luogu.org/problemnew/show/P4660 https://www.lydsy.com/JudgeOnline/problem.php?id=1168 ...
- BZOJ1206:[HNOI2005]虚拟内存
我对模拟的理解:https://www.cnblogs.com/AKMer/p/9064018.html 题目传送门:https://www.lydsy.com/JudgeOnline/problem ...
- mysql5.5主从同步复制配置
在上篇文章<烂泥:学习mysql数据库主从同步复制原理>中,我们介绍了有关mysql主从复制的基本原理.在这篇文章中,我们来实际测试下mysql5.5的主从同步复制功能. 注意mysql5 ...
- C++STL 库中set容器应用
#include<iostream> #include<cstdio> #include<set> using namespace std; set<int& ...
- binlog之二:怎么样安全删除mysql下的binlog日志
删除binlog方法 第一种方法: mysql> show binary logs; 查看mysql bin-log日志,除了这个以外的,其它都可以使用删除.mysql> purge bi ...
- Quartz.NET+TopSelf 实现定时服务
转载http://www.cnblogs.com/jys509/p/4628926.html Quartz.NET 入门 2015-07-09 00:59 by jiangys, 67858 阅读, ...