May I know if it's possible for me to do something like this?
string userInput = Console.ReadLine();
string strNewValue = "{ \"name\" : '" + userInput + "'}";
if yes, how can I do it?
I think you wanted this?
string strNewValue = "{ \"name\" : \"" + userInput + "\"}";