为什么当我在自定义连接器中导入 JSON 时,某些 JSON 属性将被跳过
我正在构建一个自定义连接器>>并在“操作”部分>>内我尝试在响应中导入此 JSON :-
{
"content":[
{
"id":1042,
"data":{
"beneficiary":{
"name":"Beneficiary LTD",
"id":1158
},
"pay_from":{
"iban":"GB29OBI170000170000001",
"accountNumber":null,
"bic":"GB29OBI1XXX",
"sortCode":null
},
"documents":{
"PAYROLL":true
},
"due_date":null,
"payment_amount":250.000000000000000000000000000000,
"amount_due":250.000000000000000000000000000000,
"pay_method":"MANUAL",
"payment_reference":"Test payment reference",
"pay_to":{
"abartn":null,
"iban":null,
"accountNumber":"12345612",
"bic":null,
"ifscCode":null,
"sortCode":"123456"
}
}
},
{
"id":1043,
"data":{
"beneficiary":{
"name":"Beneficiary LTD",
"id":1158
},
"pay_from":{
"iban":"GB29OBI170000170000001",
"accountNumber":null,
"bic":"GB29OBI1XXX",
"sortCode":null
},
"documents":{
"PAYROLL":true
},
"due_date":null,
"payment_amount":2501.000000000000000000000000000000,
"amount_due":2501.000000000000000000000000000000,
"pay_method":"MANUAL",
"payment_reference":"Test payment reference",
"pay_to":{
"abartn":null,
"iban":null,
"accountNumber":"12345612",
"bic":null,
"ifscCode":null,
"sortCode":"123456"
}
}
},
{
"id":1044,
"data":{
"beneficiary":{
"name":"Beneficiary LTD",
"id":1158
},
"pay_from":{
"iban":"GB29OBI170000170000001",
"accountNumber":null,
"bic":"GB29OBI1XXX",
"sortCode":null
},
"documents":{
"PAYROLL":true
},
"due_date":null,
"payment_amount":2501.000000000000000000000000000000,
"amount_due":2501.000000000000000000000000000000,
"pay_method":"MANUAL",
"payment_reference":"Test payment reference",
"pay_to":{
"abartn":null,
"iban":null,
"accountNumber":"12345612",
"bic":null,
"ifscCode":null,
"sortCode":"123456"
}
}
}
],
"pageable":{
"sort":{
"empty":true,
"sorted":false,
"unsorted":true
},
"offset":0,
"pageNumber":0,
"pageSize":10,
"paged":true,
"unpaged":false
},
"last":true,
"totalPages":1,
"totalElements":3,
"size":10,
"number":0,
"sort":{
"empty":true,
"sorted":false,
"unsorted":true
},
"first":true,
"numberOfElements":3,
"empty":false
}
但我只得到了这些属性:-
那么为什么缺少“data”、“Pay _from”、“documents”等属性?
谢谢
I am building a custom connector >> and inside the Action section >> i tried to Import this JSON inside the Response :-
{
"content":[
{
"id":1042,
"data":{
"beneficiary":{
"name":"Beneficiary LTD",
"id":1158
},
"pay_from":{
"iban":"GB29OBI170000170000001",
"accountNumber":null,
"bic":"GB29OBI1XXX",
"sortCode":null
},
"documents":{
"PAYROLL":true
},
"due_date":null,
"payment_amount":250.000000000000000000000000000000,
"amount_due":250.000000000000000000000000000000,
"pay_method":"MANUAL",
"payment_reference":"Test payment reference",
"pay_to":{
"abartn":null,
"iban":null,
"accountNumber":"12345612",
"bic":null,
"ifscCode":null,
"sortCode":"123456"
}
}
},
{
"id":1043,
"data":{
"beneficiary":{
"name":"Beneficiary LTD",
"id":1158
},
"pay_from":{
"iban":"GB29OBI170000170000001",
"accountNumber":null,
"bic":"GB29OBI1XXX",
"sortCode":null
},
"documents":{
"PAYROLL":true
},
"due_date":null,
"payment_amount":2501.000000000000000000000000000000,
"amount_due":2501.000000000000000000000000000000,
"pay_method":"MANUAL",
"payment_reference":"Test payment reference",
"pay_to":{
"abartn":null,
"iban":null,
"accountNumber":"12345612",
"bic":null,
"ifscCode":null,
"sortCode":"123456"
}
}
},
{
"id":1044,
"data":{
"beneficiary":{
"name":"Beneficiary LTD",
"id":1158
},
"pay_from":{
"iban":"GB29OBI170000170000001",
"accountNumber":null,
"bic":"GB29OBI1XXX",
"sortCode":null
},
"documents":{
"PAYROLL":true
},
"due_date":null,
"payment_amount":2501.000000000000000000000000000000,
"amount_due":2501.000000000000000000000000000000,
"pay_method":"MANUAL",
"payment_reference":"Test payment reference",
"pay_to":{
"abartn":null,
"iban":null,
"accountNumber":"12345612",
"bic":null,
"ifscCode":null,
"sortCode":"123456"
}
}
}
],
"pageable":{
"sort":{
"empty":true,
"sorted":false,
"unsorted":true
},
"offset":0,
"pageNumber":0,
"pageSize":10,
"paged":true,
"unpaged":false
},
"last":true,
"totalPages":1,
"totalElements":3,
"size":10,
"number":0,
"sort":{
"empty":true,
"sorted":false,
"unsorted":true
},
"first":true,
"numberOfElements":3,
"empty":false
}
but I only got those properties:-
so why some properties such as "data", "Pay _from", "documents" are missing?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论