Support > Forums > OpenBots Studio > Extracting data JSON format
Good day, I'm extracting a data table with an API GET method in a JSON format, what I'm attempting to do is extracting the field's value (name, last name, etc) into a string variable but have not been successful, I parsed the extracted JSON into a List of arrays, desirialize it into a JSONObject and I'm able to reference the values into a "show message" command but I'm stuck trying to make that into a String variable to use later, trying to do it directly gives me the error "Newtonsoft.Json.Link.JValue can''t be converted into a System.String"
This forum has 317 topics, 687 replies, and was last updated 4 months ago by Nataly Alvarado...
Hi alfredo.carbajal.nips,
Thank you for sharing your query.
You can convert a deserialize data into string by using following structure
vJObjectData.SelectToken("data.first_name").Value
Microsoft.CSharp.RuntimeBinder Newtonsoft.Json
You are not authorized to reply, please click here to login and add your reply to this topic.