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
@doowb, is 8 what you would expect?