Salesforce logoSalesforce
Coding·45 minMembers

Flatten Nested JSON / HashMap to String

Members only

Given a nested JSON object (or equivalent nested HashMap), flatten it into a single-level representation. The natural representation is dotted key paths (`a.b.c -> value`) — recursion on values that a...

SWE
recursion
dfs
json
hashmap
string
medium
Frequency
Low
Last asked
2026-01-11
Stage
onsite-coding · phone-screen

Log in to continue reading the full content