Dl/Notes: Difference between revisions
From stonehomewiki
Jump to navigationJump to search
Stonezhong (talk | contribs) (Created page with "<pre><nowiki> Data ingestion need to handle schema normalization such as { "phones": { "425-000-0001": "private" "425-000-0002": "public", "425-000-0003": "public" } } need to convert to { "phones": [ {"key": "425-000-0001", "value": "private"}, {"key": "425-000-0002", "value": "public"}, {"key": "425-000-0003", "value": "public"} ] }") |
Stonezhong (talk | contribs) No edit summary |
||
| Line 20: | Line 20: | ||
] | ] | ||
} | } | ||
</nowiki></pre> | |||
Latest revision as of 08:44, 26 July 2023
Data ingestion need to handle schema normalization
such as
{
"phones":
{
"425-000-0001": "private"
"425-000-0002": "public",
"425-000-0003": "public"
}
}
need to convert to
{
"phones":
[
{"key": "425-000-0001", "value": "private"},
{"key": "425-000-0002", "value": "public"},
{"key": "425-000-0003", "value": "public"}
]
}