万能设置值
public void setValue<t>(t value) where t : JToken
{
this.jObject[fieldName] = value;
}
万能创建不同泛型的对象。
public static JObjectTarget<t> createJObjectTarget<t>(JObject jObject, string fieldName )
{
JObjectTarget<t> jObjectTarget = new JObjectTarget<t>(jObject, fieldName);
return jObjectTarget;
}