$.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"
]
随机推荐
- [原]NYOJ-216-A problem is easy
大学生程序代写 /*A problem is easy 时间限制:1000 ms | 内存限制:65535 KB 难度:3 描述 When Teddy was a child , he was a ...
- C++中getline的用法
在看紫皮书的时候看到getline,然后查了查具体用法,记录下来. #include"iostream" #include"string" using name ...
- linux下 vi 命令大全
引用:http://www.cnblogs.com/88999660/articles/1581524.html 进入vi的命令 vi filename :打开或新建文件,并将光标置于第一行首 vi ...
- mariadb复制
实验环境:CentOS7 #安装mariadb-server #主数据库: [root@~ localhost]#vim /etc/my.cnf.d/server.cnf [mysqld] skip_ ...
- Ruby 事务Blocks
block可以用来定义必须运行在事务控制环境下的代码.例如,你经常需要打开一个文件,对其内容做些处理,然后确保在处理结束后关闭文件.尽管可以用传统方式来实现,但也存在“应该由文件负责自身的关闭”这样的 ...
- IIS备份和还原
当我们电脑系统有大量的站点和虚拟目录的时候,电脑因为种种原因需要重做系统,那么重装系统后这些站点我们是否只能一个一个的添加,如果有成百上千个站点呢,任务量可想而知,本文将介绍如何备份和还原window ...
- PHP7三元运算符 ?? 和 ?: 的区别
1. (expr1) ?? (expr2) 是 PHP7才有的功能,等同于: isset(expr1) ? expr1 : expr2 ; 2.(expr1) ?: (expr2) 是PHP5.3才 ...
- /*透明度设置的两种方式,以及hover的用法,fixed,(relative,absolute)这两个一起用*/
<!DOCTYPE html> /*透明度设置的两种方式,以及hover的用法,fixed,(relative,absolute)这两个一起用*/ <html lang=" ...
- POJ 3691 DNA repair (DP+字符串)
题意:给出nn(1≤n≤50,1≤n≤50) 个病毒DNA序列,长度均不超过20.现在给出一个长度不超过1000的字符串,求至少要更换多少个字符, 才能使这个字符串不包含这些DNA序列. 析:利用前缀 ...
- 多值cookie