We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
测试用例如下:
class MyTest1 { public static void UnitTest_JsonMap() { string json = "{\"Items\":{\"one\":{\"Type\":\"OneType\"},\"two\":{\"Type\":\"TwoType\"}}}"; MyTestDataMap data =JsonMapper.ToObject<MyTestDataMap> (json); Console.WriteLine("Type : "+data.Items["one"].Type); } } class MyTestDataItem : TestClass3 { public string Type; } class MyTestDataMap : TestClass3 { public Dictionary<string, MyTestDataItem> Items; }
The text was updated successfully, but these errors were encountered:
已修复
Sorry, something went wrong.
No branches or pull requests
测试用例如下:
The text was updated successfully, but these errors were encountered: