Use mapKeys to convert object keys to another format using the specified conversion function.
E.g., to deep convert all object keys to camelCase: mapKeys(myObj, _.camelCase, true)
to shallow convert object keys to lower case: mapKeys(myObj, _.toLower)
NOTE: This mutates the object passed in for conversion.
Use mapKeys to convert object keys to another format using the specified conversion function.
E.g., to deep convert all object keys to camelCase: mapKeys(myObj, _.camelCase, true) to shallow convert object keys to lower case: mapKeys(myObj, _.toLower)
NOTE: This mutates the object passed in for conversion.