got a question about searching json. I should know this but always get stuck on this one. Be very grateful for some help.
So I have a nested json object:
const myJson = {
car: { wheel_type: "chrome" }
};
And I have a nested key of string:
const key = "car.wheel_type";
How do I extract the wheel type from the json object?