I am trying to make a json object like this with JObject:
{ \"input\": { \"webpage/url\": \"http://google.com/\" } }
I can add
Just carry on as you are, and nest them in another level:
JObject job = new JObject( new JProperty("website/url", "http://www.google.com") ); JObject parent = new JObject(new JProperty("input", job));
parent.ToString() now gives:
parent.ToString()
{ "input": { "website/url": "http://www.google.com" } }