空手道有没有办法将 Json 转换为 csv

Is there way in Karate to conevert Json to csv

我正在 运行 数据库查询并在 Json format.Is 中得到以下输出 有办法将以下 json 输出转换为 .csv 文件(csv 格式)空手道还是我们需要编写 java 实用程序来执行此操作

如果空手道具有将 json 转换为 csv 文件的内置功能,请告诉我

{
 "recordset": [
{ 
"Key1": "Value1",
"Key2": "Value2",
}

{
"Key1": "Value1",
"Key2": "Value2",
}
]
}

Thanks In advance

这将在 0.9.6 最终版中推出。期待下周的 RC4。

https://github.com/intuit/karate/tree/develop#karate-tocsv

如果可以,尝试在本地构建:https://github.com/intuit/karate/wiki/Developer-Guide