Created
March 18, 2011 07:51
-
-
Save chjj/875748 to your computer and use it in GitHub Desktop.
This file contains 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
[obj] [structure] [property] [value] | |
test_article none title A Test Article | |
test_article none content Hello world! | |
test_article tags 0 misc | |
test_article tags 1 etc | |
test_article comments.0 poster_name AvgJoe | |
test_article comments.0 content This article is amazing | |
test_article comments.1 poster_name SuperNerd | |
test_article comments.1 content No it's not! | |
another_article none title Another Article | |
another_article none content Yet another article... | |
another_article tags 0 misc | |
another_article tags 1 development | |
In JSON: | |
{ | |
"test_article": { | |
"title": "A Test Article", | |
"content": "Hello world!", | |
"tags": ["misc", "etc"], | |
"comments": [ | |
{ | |
"poster_name": "AvgJoe", | |
"content": "This article is amazing" | |
}, | |
{ | |
"poster_name": "SuperNerd", | |
"content": "No it's not!" | |
} | |
] | |
}, | |
"another_article": { | |
"title": "Another Article", | |
"content": "Yet another article...", | |
"tags": ["misc", "development"] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment