python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Access nested JSON object without specifying key in JavaScript
I decided to learn more on JavaScript looping and mapping functions by doing nested objects/arrays. Now I stumbled into a problem which is somewhat similar to this but far more complicated.
Accessing ...
Ivan Gray
Votes: 0
Answers: 1
Remove/Add all childrenNode of a tree from an array when clicking on a parentNode
I have this nested object :
export interface RenderTree {
id: string;
name: string;
children?: readonly RenderTree[];
}
export const UserLoginRoleV2Tree: RenderTree = {
id: "root...
Paul Serre
Votes: 0
Answers: 1
Find parent name of a json attribute - unknown structure - Python
There is a JSON file with unknown structure.
I need to find an attribute of a known name in this file and, if it exists, return the name of its parent node, or nodes (if there are multiple instances o...
Piotr L
Votes: 0
Answers: 1
Material Ui Accordion closes automatically
<Accordion>
<AccordionSummary
expandIcon={<ExpandMoreIcon />}
aria-controls="panel1a-content"
id=&qu...
Nilesh102001
Votes: 0
Answers: 1