Created
September 2, 2015 10:14
-
-
Save rolaveric/942ff651ef2a30211fd1 to your computer and use it in GitHub Desktop.
JSON Graph sample for FalcorJS post
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
{ | |
todosById: { | |
"44": { | |
name: "get milk from corner store", | |
done: false, | |
prerequisites: [{ $type: "ref", value: ["todosById", 54] }] | |
}, | |
"54": { | |
name: "withdraw money from ATM", | |
done: false, | |
prerequisites: [] | |
} | |
}, | |
todos: [ | |
{ $type: "ref", value: ["todosById", 44] }, | |
{ $type: "ref", value: ["todosById", 54] } | |
] | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment