Share Link
Copied to clipboard
Embed on Your Page
Copied to clipboard
We Stand with Ukraine
SESSION FOUR: PROGRAMS ALSO CHOOSE — QUESTÃO 6 by Ch@rles
Json.NET version: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
Initial JSON: 
[
  {
    "MyStringArray": [
      "stringInput1",
      "stringInput2"
    ],
    "MyCharArray": [
      "a",
      "b",
      "c",
      "."
    ],
    "MyString": "dummy",
    "MyClass3Object": [
      {
        "MyString": "ListInput1",
        "MyRegex": {
          "Pattern": "[A-Z]",
          "Options": 0
        }
      },
      {
        "MyString": "ListInput2",
        "MyRegex": {
          "Pattern": "[0-9]",
          "Options": 0
        }
      }
    ]
  }
]
Deserialized and re-serialized JSON: 
[
  {
    "MyStringArray": [
      "stringInput1",
      "stringInput2"
    ],
    "MyCharArray": [
      "a",
      "b",
      "c",
      "."
    ],
    "MyString": "dummy",
    "MyClass3Object": [
      {
        "MyString": "ListInput1",
        "MyRegex": {
          "Pattern": "[A-Z]",
          "Options": 0
        }
      },
      {
        "MyString": "ListInput2",
        "MyRegex": {
          "Pattern": "[0-9]",
          "Options": 0
        }
      }
    ]
  }
]
Initial and re-serialized are equivalent.
Cached Result
Last Run: 8:30:56 pm
Compile: 0.243s
Execute: 0.246s
Memory: 1.49Mb
CPU: 0.312s