为什么当我在自定义连接器中导入 JSON 时,某些 JSON 属性将被跳过

发布于 2025-01-13 05:02:17 字数 3539 浏览 5 评论 0原文

我正在构建一个自定义连接器>>并在“操作”部分>>内我尝试在响应中导入此 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:-

enter image description here

so why some properties such as "data", "Pay _from", "documents" are missing?

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文