Skip to content

Instantly share code, notes, and snippets.

@rastkojokic
Created March 9, 2015 15:39
Show Gist options
  • Save rastkojokic/ae534ec8bd6848d7afb8 to your computer and use it in GitHub Desktop.
Save rastkojokic/ae534ec8bd6848d7afb8 to your computer and use it in GitHub Desktop.
[
{
"id": 4,
"name": "Category A",
"type": "category",
"subcategories": [
{
"id": 4,
"name": "Subcategory A",
"type": "subcategory",
"fields": "[{\"name\":\"Price\",\"tha_name\":\"Price Thai\",\"ind_name\":\"Price Ind\",\"type\":\"number\"},{\"name\":\"Color\",\"tha_name\":\"Color Thai\",\"ind_name\":\"Color Ind\",\"type\":\"text\"},{\"name\":\"Description\",\"tha_name\":\"Description Thai\",\"ind_name\":\"Description Ind\",\"type\":\"text\"},{\"name\":\"Gallery\",\"tha_name\":\"Gallery Thai\",\"ind_name\":\"Gallery Ind\",\"type\":\"image group\"}]",
"products": [
{
"id": 10,
"name": "Product X-1",
"specs": "{\"eng\":{\"Price\":\"2100$\",\"Color\":\"Black\",\"Description\":\"Desc\"},\"tha\":{\"Price\":\"\",\"Color\":\"Black Thai\",\"Description\":\"Desc Tha\"},\"ind\":{\"Price\":\"\",\"Color\":\"Black Ind\",\"Description\":\"Desc Ind\"}}",
"images": "{\"Gallery\":[\"http://www.ecatalogue.jsdev.com.au/uploads/image/image/11/audi_accessories_d3_a8_005.jpg\",\"http://www.ecatalogue.jsdev.com.au/uploads/image/image/12/audi-a1-pq25-original-zubehor-accessories-1002.jpg\",\"http://www.ecatalogue.jsdev.com.au/uploads/image/image/13/Audi-Q5-Custom-Concept-interior-lg.jpg\",\"http://www.ecatalogue.jsdev.com.au/uploads/image/image/14/Audi-R8-LED-headlights-lg.jpg\",\"http://www.ecatalogue.jsdev.com.au/uploads/image/image/15/Audi-Q5-Custom-Concept-interior-lg.jpg\",\"http://www.ecatalogue.jsdev.com.au/uploads/image/image/16/audi-q5-interior-trunk.jpg\"]}",
"videos": "{\"eng\":[\"http://www.ecatalogue.jsdev.com.au/uploads/video/video/8/A.mp4\",\"http://www.ecatalogue.jsdev.com.au/uploads/video/video/9/A.mp4\",\"http://www.ecatalogue.jsdev.com.au/uploads/video/video/10/A.mp4\"],\"tha\":[\"http://www.ecatalogue.jsdev.com.au/uploads/video/tha_video/8/A.mp4\",\"\",\"\"],\"ind\":[\"\",\"\",\"\"]}",
"documents": "{\"eng\":[\"http://www.ecatalogue.jsdev.com.au/uploads/document/document/2/Epson_data_tree.pdf\",\"http://www.ecatalogue.jsdev.com.au/uploads/document/document/3/Epson_data_tree.pdf\"],\"tha\":[\"\",\"\"],\"ind\":[\"\",\"\"]}"
}
]
}
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment