I am receiving a JSON output from an API call. This output contains a firebase field that has a user ID reference as shown below:
What the JSON returns is this:"userID": {
"userID": {
"_firestore": {
"projectId": "my_project_id"
},
"_path": {
"segments": [
"users",
"**************XoRhWQJCJ66oT2"
]
},
Now this is what my component is expecting:
As you can see, I dont have a good option to map the JSON to the component variable.
How does one achieve something like this?