Konwertuj obiekt na JToken
JToken jInput = JToken.FromObject(inputObject);
Upvote answer :-)
JToken jInput = JToken.FromObject(inputObject);