[ardoJSON]  'System.Object Newtonsoft.Json.Linq.JToken.ToObject(System.Type)'.

[ardoJSON]  'System.Object Newtonsoft.Json.Linq.JToken.ToObject(System.Type)'.

  
Forge Component
(22)
Published on 2017-09-05 by Ricardo Silva
22 votes
Published on 2017-09-05 by Ricardo Silva


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.


Hi, Are you using Outsystems parse to json?