JSON data is
"participant": {"id": "1"},
I tried the following code.But I got a exception
String.Format(("\n\"{0}\":{\"{1}\":\"{2}\"}","participant","id","1"));
Exception is
An unhandled exception of type 'System.FormatException' occurred in mscorlib.dll
Additional information: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.
string.Formatwith no placeholders is pointless.