Share Link
Copied to clipboard
Embed on Your Page
Copied to clipboard
We Stand with Ukraine
questions/52204672/serializing-a-list-with-iconvertible-using-json-net-with-the-typenamehandling-fl by dbc_MinLength
Environment version: 4.0.30319.42000
Json.NET version: Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed

{
  "bool2": {
    "$type": "ConvertibleWrapper`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], a4qn4wf0, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null",
    "Value": false
  },
  "int2": {
    "$type": "ConvertibleWrapper`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], a4qn4wf0, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null",
    "Value": 235
  },
  "string2": {
    "$type": "ConvertibleWrapper`1[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], a4qn4wf0, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null",
    "Value": "hellohello"
  },
  "null value": {
    "$type": "ConvertibleWrapper`1[[System.IConvertible, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], a4qn4wf0, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null",
    "Value": null
  }
}
Deserialized dictionary is identical to original.
Cached Result
Last Run: 11:26:21 pm
Compile: 0.283s
Execute: 0.222s
Memory: 1.18Mb
CPU: 0.312s