您能帮我为以下内容编写 JOLT 规范吗?
输入:
{
"title": [
"vsnu",
"anothervsnu"
],
"anothertitle": [
"vsnu",
"anothervsnu"
]
}
预期输出:
{
Response : [
{
"head" : "title",
"name" : "vsnu"
},
{
"head" : "title",
"name" : "anothervsnu"
},
{
"head" : "anothertitle",
"name" : "vsnu"
},
{
"head" : "anothertitle",
"name" : "anothervsnu"
}
]
}
在过去的三天里,我陷入了困境。请帮助我。我希望上面的问题能解释期望,我写这个只是因为 StackOverflow 显示了验证错误消息。
提前致谢。