淘先锋技术网

首页 1 2 3 4 5 6 7

C# Json序列化

string json = JsonSerializer.Serialize(foo);
Foo f = JsonSerializer.Deserialize<Foo>(json);