/**
 * Copyright IBM Corp. 2016, 2025
 * SPDX-License-Identifier: BUSL-1.1
 */
import { camelize } from '@ember/string';

export default function camelizeKeys(object) {
  const newObject = {};
  Object.entries(object).forEach(([key, value]) => {
    newObject[camelize(key)] = value;
  });
  return newObject;
}
