【发布时间】:2019-11-01 13:39:37
【问题描述】:
以下检查产生错误声明
没有为类型 Seq[String] 找到类型类 JsonFilter 的成员
...
.check(
jsonPath("$..foo").ofType[Seq[String]]
.transform((a) => {println(a);a})
.saveAs("bar")
)
鉴于以下 json,我希望输出看起来像:List(f1, f2, f3)
{
"one": {"foo": "f1"},
"two": {"foo": "f2"},
"three": {"foo": "f3"},
}
【问题讨论】: