如何在Apache nifi中实现以下拆分
我的输入json是
*** Test Cases ***
Biker Login
POST https://somesite.somesite/auth/login
{"phoneNumber":"phoneNumber","password" : "password","versionCode": 100} headers={"Content-Type":"application/json"}
我的输出应该是2个独立的json
1。
[
{
"quality": true,
"tagname": "P1001",
"timestamp": 1543295658092,
"value": 121
},
{
"quality": true,
"tagname": "P1002",
"timestamp": 1543295658092,
"value": 23
}
]
2。
{
"quality": true,
"tagname": "P1001",
"timestamp": 1543295658092,
"value": 121
}