ReadAsJson

This commit is contained in:
龙腾猫跃 committed 2026-06-11 02:13:08 +08:00
1 parent 9470a6160a
commit d05df2df9b
2 files changed
+14 -3

No files matched your search

+1 -1
View File
@@ -399,7 +399,7 @@ public static class StringExtensions {
}
/// <summary>
/// 将字符串转化为 JSON 对象。
/// 将字符串转化为 JSON 对象,若失败则抛出异常。
/// </summary>
public static JToken? DeserializeJson(this string data) {
try {