Skip to content

Instantly share code, notes, and snippets.

@tango4567
Created March 4, 2019 18:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tango4567/365191eb40ae420236f94c2b44c75368 to your computer and use it in GitHub Desktop.
Save tango4567/365191eb40ae420236f94c2b44c75368 to your computer and use it in GitHub Desktop.
All in one categories and posts JSON sample
//Must Read Comment by Creator
{
"categories": [
{
"key":"key1",
"name": "name",
"img": "image_url"
},
{
"key":"key2",
"name": "name",
"img": "image_url"
}
],
"posts": [
{
"p_category":"in_rail",
"p_details":"Details",
"p_date":"DATE",
"p_img": "URL",
"p_last_date":"DATE",
"p_name":"Post Name",
"p_qualification":"Qualification",
"p_url": "URL"
},
{
"p_category":"in_rail",
"p_details":"Details",
"p_date":"DATE",
"p_img": "URL",
"p_last_date":"DATE",
"p_name":"Post Name",
"p_qualification":"Qualification",
"p_url": "URL"
}
]
}
@tango4567
Copy link
Author

Important Note

  1. key Remember key must be unique for all categories.
  2. p_category Represent category name in which this post will display.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment