Skip to content

Instantly share code, notes, and snippets.

@chjj chjj/lite.txt
Created Mar 18, 2011

Embed
What would you like to do?
[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
You can’t perform that action at this time.