Option Strict on disallows late binding - Uipath error

Hi, I am trying to get the specific value in the Json string the yellow highlight, but I encountered an error and it says Option Strict on disallows late binding. Here is my process.

I have a text file then I used activity Read text file and output it as mytext_json with variable type as a string

then the mytext_json I deserealize it and output it as des_mytextjson with a variable type object

I am trying to display the value in status by doing this

des_mytextjson(“status”).tostring but it says Option Strict on disallows late binding.

I tried all solution posted in this forum but I still encountering the error, I tried to change the variable type into Jobject but still say Option Strict on disallows late binding.

Thank You.

Once the JSON string is deserialized, the returned output datatype should be of datatype: JObject

UPD-1
when using the Deserialize JSON activity then ensure:

I’m using a UiPath studio 2025.0.157 I don’t know why the default is “object” when I use the deserialize Json activity. Thank you for your response.

Datatype is to set to JOBject

You can also post edit it within the variable panel

1 Like

Nice, It works. But I prompt message the value in “testExecutionKey” and not the status. How can I get the value of the status if it’s inside the “tests” bracket?. Thank You.

Perfect so lets scope 1 Topic = 1 Case as others can easier find solutions for their similar cases

Origin Topic was about the late binding error. So lets close the topic by marking the solving post as solution:
Forum FAQ - How to mark a post as a solution - News / Tutorials - UiPath Community Forum

About:

Do prototyping within the immediate panel as it is faster done
Understanding the 6 Debugging Panels of UiPath in the easiest way possible! - News / Tutorials - UiPath Community Forum

If further assistance is needed then open a new topic and share also your JSON as text file with us

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.