Top "Nested" questions

This tag relates to any of various nested entities or operations in programming.

How can I access and process nested objects, arrays or JSON?

I have a nested data structure containing objects and arrays. How can I extract the information, i.e. access a …

javascript arrays object nested data-manipulation
Nested select statement in SQL Server

Why doesn't the following work? SELECT name FROM (SELECT name FROM agentinformation) I guess my understanding of SQL is wrong, …

sql sql-server nested subquery querying
Best way to do nested case statement logic in SQL Server

I'm writing an SQL Query, where a few of the columns returned need to be calculated depending on quite a …

sql sql-server sql-server-2005 select nested
How do you create nested dict in Python?

I have 2 CSV files: 'Data' and 'Mapping': 'Mapping' file has 4 columns: Device_Name, GDN, Device_Type, and Device_OS. All …

python python-2.7 dictionary mapping nested
Extract first item of each sublist

I am wondering what is the best way to extract the first item of each sublist in a list of …

python list nested
Test for existence of nested JavaScript object key

If I have a reference to an object: var test = {}; that will potentially (but not immediately) have nested objects, something …

javascript object properties nested
Single Line Nested For Loops

Wrote this function in python that transposes a matrix: def transpose(m): height = len(m) width = len(m[0]) return [ [ m[…

python loops for-loop nested nested-loops
Nested routes with react router v4 / v5

I am currently struggling with nesting routes using react router v4. The closest example was the route config in the …

javascript reactjs nested react-router react-router-v4
Accessing nested JavaScript objects and arrays by string path

I have a data structure like this : var someObject = { 'part1' : { 'name': 'Part 1', 'size': '20', 'qty' : '50' }, …

javascript jquery path nested
Nested ifelse statement

I'm still learning how to translate a SAS code into R and I get warnings. I need to understand where …

r if-statement nested sas