函数功能描述 来源: 作者: 作者原述: 猫壹佰描述: 从JSON数组中获取与指定键值相匹配的JSON子集里任意键值. 测试文档下载: 调用范例 ("{\"Rows\" : [{\"Row_id\":1,\"Value\":10},{\"Row_id\":2,\"Value\":20},{\"Row_id\":3,\"Value\":30}]}";"Rows";"Value";"Row_id";2) 返回结果 20 函数内容 Let(@count=@JSON_count_array_rows ( json ; array_name ); While([@i=0;@result=""];@i<@count; [@result=List(@result;If(JSONGetElement(json;array_name&"["&@i&"]."&search_column )=search_value;JSONGetElement(json;array_name&"["&@i&"]."&return_column));""); @i=@i+1] ; @result ) ) 复制函数内容 当前页面使用FileMaker生成发布, 更新于2021年3月15日0时50分48秒