I am trying to pass a json string to a C#-Program using Commandline.
The JSON-String looks like this:
{ \"config\": { \"script\": {
Declare it as a string with "" and escape the other " with \ and it should work.
""
"
\
Command line:
"{\"config\":{\"script\":{\"script_name\":\"test\",\"dir\":\"D:\\test\",\"destination\":\"M:\\neu\\test\",\"params\":\"/b /s /r:3 /w:5\"}}}"