Takes an object and returns a new object whose keys are renamed according to the provided key mapping.
Any keys in the input object not present in the key mapping will be present in the output object as-is.
If a key in the key mapping is not present in the input object, the output object will contain the key with value "undefined".
Takes an object and returns a new object whose keys are renamed according to the provided key mapping. Any keys in the input object not present in the key mapping will be present in the output object as-is. If a key in the key mapping is not present in the input object, the output object will contain the key with value "undefined".