我有一个需要在特定条件下更新的json文件。示例json{"Actions":[{"value":"1","properties":{"name":"abc","age":"2","other":"test1"}},{"value":"2","properties":{"name":"def","age":"3","other":"test2"}}]}我正在写一个脚本,它利用Jq来匹配一个值并更新,如下所示catsample.json|jq'.Actions[]|select(.properties.age=="3").properties.other="no-test"'输出(打印到