JsonConvert was not declared.It may be inaccessible due to its protection level issue

Hi @nadim.warsi ,
I am facing issue JsonConvert was not declared.It may be inaccessible due to its protection level]

i added name space but it is not working for me .

Can you please help me on this.

1 Like

have you tried after a restart of your studio?

Hi @prasanna.Ui,

The project JSON file won’t include the namespaces you actually need for your project, namespaces are included per workflow, not per project.

The namespace should be in the file. I personally use the Imports tab (next to the Variables and Arguments tab) to include any namespace I require.

  1. Open the file where the issue appears.
  2. Go to the Imports tab:
  3. In Enter or Select namespace type Newtonsoft.Json
  4. Issue should be solved
2 Likes

Thnak you for reply.

Issue got resolved.

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