添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
小眼睛的帽子  ·  Rayon ...·  4 周前    · 
风流的书签  ·  6.6. Debezium Oracle ...·  1 月前    · 
逼格高的自行车  ·  使用 ...·  1 月前    · 
[ardoJSON]  'System.Object Newtonsoft.Json.Linq.JToken.ToObject(System.Type)'.
141 Views
1 Comments
Question
ardojson
Service icon
Forge component by João Barata
35
Published on 09 Jan 2024


Greetings,

I was provided with the JSON in the attached file. So I created a Consumed REST, when I pasted the URL and the JSON example provided, it created the structure in the image below. Which looks correct.

I am able to consume the API with no problem, I get valid results.

The problem is when trying to parse the JSON response using ardoJSON, I get the error below:

Error:
Method not found: 'System.Object Newtonsoft.Json.Linq.JToken.ToObject(System.Type)'.

Would you know what I can do to correct this error, I looked in the forum and the suggested solution did not work in my system.

The Record List used using ardoJason is a record list with the GetOfferResponse structure.

Suggested Solution:
https://www.outsystems.com/forums/discussion/10236/method-not-found-system-object-newtonsoft-json-linq-jtoken-toobjectsystem-type/


I have updated the attached file to reflect the following:

  • JSON sample
  • JSON Data Structure created when consuming the API



Any help you can provide is greatly appreciated.


JSON Example - JSON Structure.docx