----- 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"
}
]
}
}