I have object in json string:
const str = `[{"user_id":"561904e8-6e45-5012-a9d8-e2ff8761acf6","email_addr":"jilov@fake.com","details":[{"city_name":"fake city","country_name":"fake country"}]},{"user_id":"5904003b-452b-535c-9615-94706bf6c66c","email_addr":"sawu@fake.com","details":[{"city_name":"fake city","country_name":"fake country"}]}]`;
I want to parse this string (JSON.parse), but I also want to convert every underscore key to camelCase (in all levels).
Is it possible to use parse and convert in the same function? or I need to do it in separate steps?