开发者交流平台
开发者交流平台

通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。

bj
登录
  • 友情链接
站内
jq

jq

go

如何筛选包含其他数组元素的任何数组元素?

英文: How to filter any array elements if they contains other array elements? 问题 [ { "val": ...
huangapple 2023年3月7日114评论filter json
go

在选择后获得空值的生成器不会产生错误。

英文: Getting a generator on a null value after select gives no error 问题 考虑这个示例: echo null | jq '[...
huangapple 2023年3月7日178评论jq
go

循环遍历对象并使用Shell命令的输出来添加一个字段

英文: jq loop over objects and use shell command output to add a field 问题 我正在尝试迭代遍历JSON并为JSON中的每个对象添加一...
huangapple 2023年3月7日141评论bash json
go

使用jq中的”or”运算符

英文: Use or operator in jq 问题 我正在使用jq来解析JSON。JSON中有一个名为"players[]"的数组,其中包含一个名为"name&qu...
huangapple 2023年3月4日120评论arrays if-statement
go

jq – 从外部数组添加元素

英文: jq - add element from outside array 问题 [ "i-0af68a7cf857bd010", "admin", &qu...
huangapple 2023年3月4日130评论jq json
go

更新符合不好路径下条件的字段。

英文: updating fields matching condition under not nice path 问题 我需要经常有条件地更新子树中的某些字段,而这些子树的路径看起来很不美观。我有...
huangapple 2023年2月27日101评论jq
go

递归合并 JSON 字符串与文件,使用 jq。

英文: Recursive merge JSON string with file using jq 问题 我有一个名为default的bash字符串,其中包含以下内容: $ echo $defaul...
huangapple 2023年2月24日132评论bash stream
go

grab IP addresses (but not subnets) from a command (or file) and output them one per line to a new file

英文: grab IP addresses (but not subnets) from a command (or file) and output them one per line to a n...
huangapple 2023年2月24日129评论awk sed
go

jq: 解析结果,其中一些属性是空数组

英文: jq: parse result where some properties are empty arrays 问题 使用 jq,希望解析可能包含数组值的结果 混淆了。如果数据包含一个空数组:...
huangapple 2023年2月24日97评论jq
go

CSV缺少第一行的JQ原始输入

英文: JQ Raw Input of CSV missing first line 问题 对不起,以下是您请求的翻译部分: "It's not clear to me why my out...
huangapple 2023年2月24日117评论csv json
10

文章导航

1 … 4 5 6 7 8 9 10
name
开发者交流平台
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
文章117266 留言 4 访客17120251

热门标签

node.js spring c++ flutter html r css typescript pandas c# reactjs spring-boot android arrays java go python sql json javascript

悟已往之不谏,知来者之可追!

今日
00%
已00小时
本周
00%
已过00天
本月
00%
已过00天
今年
00%
已是00月

Copyright ©  开发者交流平台 版权所有.

闽 ICP 备 2022019110 号 - 1
  • 开发者交流平台

    本页二维码