Skip to content

Commit

Permalink
Merge pull request #119 from afunc233/master
Browse files Browse the repository at this point in the history
添加对 JArray的转换
  • Loading branch information
walterlv authored Feb 10, 2023
2 parents c1d8b73 + 39e8ea7 commit f4d6378
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ internal static class KnownTypeConverter
null => default!,
JValue jValue => jValue.ToObject<T>(),
JObject jObject => jObject.ToObject<T>(),
JArray jArray => jArray.ToObject<T>(),
_ => throw new NotSupportedException("不支持将其他 JToken 类型转换成 IPC 业务类型。")
};
}
Expand Down

0 comments on commit f4d6378

Please sign in to comment.