I have a scenario where many fields in JSON response that are coming as string ("true"/"false").
Now I need to replace all of the values from string to Boolean in one shot via Javascript.
Sample:
{
    field1: "true",
    field2: "false"
}
Expected:
{
    field1: true,
    field2: false
}
This is a sample. My JSON response is very huge with many objects and arrays.