---
title: "Discussion on \"Understanding the 'object' Datatype to transform nested JSON keys\" | Hashnode"
description: "Discussion on \"Understanding the 'object' Datatype to transform nested JSON keys\". Recently, I got to experience my first (mock) technical interview where I was asked to transform a valid JSON string's keys from  kebab-case to camelCase . \nPart 1: A Single JSON string\n// example input \nconst exampleJson = `{\n  \"first-name\": \"Brando..."
url: "https://hashnode.com/posts/understanding-the-object-datatype-to-transform-nested-json-keys/5f7248173359e501fe177af1"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Understanding the 'object' Datatype to transform nested JSON keys](https://blog.mydevdiary.net/understanding-the-object-datatype-to-transform-nested-json-keys?utm_source=hashnode&utm_medium=feed)

Recently, I got to experience my first (mock) technical interview where I was asked to transform a valid JSON string's keys from kebab-case to camelCase . Part 1: A Single JSON string // example input const exampleJson = \`{ "first-name": "Brando...

Sep 28, 2020 · 7 min read · blog.mydevdiary.net  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#json](https://hashnode.com/tag/json)
-   [#array-methods](https://hashnode.com/tag/array-methods)
-   [#recursion](https://hashnode.com/tag/recursion)
-   [#solid-principles](https://hashnode.com/tag/solid-principles)

## Written by

[Brandon Dusch](https://hashnode.com/@Dusch4593)

@Dusch4593 · Pittsburgh, PA, USA

  
[View profile](https://hashnode.com/@Dusch4593)

Developer and Writer

I'm a life-long, self-directed learner with a love for libraries, documentation, and all things tech. Currently serving the people at the Carnegie Library of Pittsburgh 📚 Formerly @ Codédex 👾 and Codecademy 🧑🏻‍💻 Extracurriculars (in no particular order): 🧑🏻‍🍳 Cooking 📖 Reading (mostly non-fic of all kinds) 🎸 Listening to/playing music 🎙️ Enjoying awesome podcasts. 🏃🏻 Running, walking, moving in general! :D Thanks for reading!

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
