← 返回 salesforce 的题目列表Flatten JSON using DFS
类型:online_judge
Flatten nested JSON data into a flat structure using DFS recursion. Clearly specify the form of JSON data on input and output.
Example
Input
{"a": 1, "b": {"c": 2, "d": 3}}
Output
{"a": 1, "b_c": 2, "b_d": 3}