Last active
August 29, 2015 13:58
-
-
Save doowb/10197461 to your computer and use it in GitHub Desktop.
nested data
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var data = [ | |
{ | |
'Sellside.foo': ['path/to/foo-data.json'], | |
'Sellside.bar': ['path/to/bar-data.json'] | |
} | |
]; | |
var results = { | |
Sellside: { | |
foo: { /* foo-data.json */ }, | |
bar: { /* bar-data.json */ } | |
} | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var data = [ | |
{ | |
Sellside: [ | |
{ | |
foo: ['path/to/foo-data.json'] | |
}, | |
{ | |
bar: ['path/to/bar-data.json'] | |
} | |
] | |
} | |
]; | |
var results = { | |
Sellside: { | |
foo: { /* foo-data.json */ }, | |
bar: { /* bar-data.json */ } | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
1. String
2. Array of Strings
3. Object, with
expand
,name
andsrc
4. Objects with random data
5. Array of objects with random data
6. Array, with string and objects
with
src
andname
properties7
8
9
10
11
12