An array is an ordered data structure consisting of a collection of elements. Nested array is collection of array. Use this tag for questions related to nested-array.
0
votes
3answers
660 views
How can i sort Nested JSON Array?
How can i sort Nested JSON Array? Like for a JSON below...
{
"id":"rtmc05.lax.someabc.net",
"name":"rtmc05.lax.someabc.net",
"tenants":[{
"id":"rtmc",
"name":"rtmc"
...
0
votes
2answers
34 views
Sorting three lists into a single list given that each list is sorted
I have three nested arrays, containing around 10,000 elements (each array has a different number of elements). These arrays are ordered with respect to the 0th element and the 1st element in each ...
0
votes
2answers
127 views
Sorting nested arrays via an Element in each Sub Array
Assuming I have something coming back from a JSON request that essentially looks like this --
$data = array('0'=> array('name' => 'Dr. Smith',
'address' => '3002 ...
0
votes
1answer
118 views
Javascript Nested-Array throwing 'TypeError' - Error
I'm trying to create a nested array in Javascript, but whatever I try to get something out of this array I get an error 'TypeError'. Here is the code snippet:
var domains =new Array();
...
0
votes
1answer
576 views
PHP to Smarty, displaying some nested Arrays
I'm having some issues displaying some nested array results in smarty... here's what I have:
$searchResults - an array, where each row is a result set. No problem here.
$searchResults[$row][users][] ...
1
vote
0answers
43 views
Traverse nested Javascript arrays to create paths
I have an arbitrarily nested data structure like this -
var nested = [ 'a', [ [ 'b' ], [ 'c' ] ] ];
I would like to traverse the levels to create an array of arrays like this
var paths = [['a', ...
1
vote
0answers
135 views
Restkit nested array mapping fault
I am trying to map following structure:
Plan.json:
{
"id" : "1",
"floors" : [
{
"floor" : "1",
"constrains" :
{
"southWest":
{
"latitude": ...
0
votes
0answers
15 views
yummly api, iterate through ingredients array with .ajax() method on success
Im Currently working with the Yummly api to search for food recipes via ingredient. So far its going well. ive been able to make the request, pull in and append information like recipe name etc. to ...
0
votes
0answers
96 views
Delete item from nested object array
I'm working with AngularJS and have an object array like that in my controller :
$scope.folderList = [{
name: 'root',
path: 'uploads/',
subs: [{
name: 'pictures',
path: ...
0
votes
0answers
159 views
Asihttprequest success with addPostValue failed using appendPostData with ASP server
It's driving me crazy, after two days of test and searching the web, I still can't figure out what is wrong with my code. So, please help! I'm working on an iOS app get and post data from and to a ...
0
votes
0answers
200 views
MySQL nested Table, Array, or Object? Not sure if any of these options are possible.
I have a table for users that contains columns for the user's id, username, password and other user information. I would like to add a column to this MySQL table that contains a column referencing to ...