I am trying to pass a json string to a C#-Program using Commandline.
The JSON-String looks like this:
{ \"config\": { \"script\": {
Just send json value to commandline after catch value and replace it. It's work for me.
args[1].Replace("{","{\"").Replace(":","\":\"").Replace(",","\",\"").Replace("}","\"}");