Share Link
Copied to clipboard
Embed on Your Page
Copied to clipboard
We Stand with Ukraine
https://stackoverflow.com/questions/53779796 by Brian Rogers
----- Original JSON ---
{
  "FirstObject": {
    "NestedObject": {
      "AttributeString": "ok",
      "AttributeNumeric": 123.45
    },
    "OtherObject": [
      {
        "ArrayVal": 100
      },
      {
        "ArrayVal": 200
      }
    ]
  }
}
----- Converted to snake_case ---
{
  "first_object": {
    "nested_object": {
      "attribute_string": "ok",
      "attribute_numeric": "123.45"
    },
    "other_object": [
      {
        "array_val": "100"
      },
      {
        "array_val": "200"
      }
    ]
  }
}
----- Converted back to UpperCamelCase ---
{
  "FirstObject": {
    "NestedObject": {
      "AttributeString": "ok",
      "AttributeNumeric": "123.45"
    },
    "OtherObject": [
      {
        "ArrayVal": "100"
      },
      {
        "ArrayVal": "200"
      }
    ]
  }
}
Cached Result
Last Run: 10:28:43 am
Compile: 0.203s
Execute: 0.247s
Memory: 1.19Mb
CPU: 0.234s