【发布时间】:2016-06-01 03:51:06
【问题描述】:
{
"restaurantId":1, “名称”:“食物熊猫”, “添加日期”:1455647400000, “最后修改”:1455733800000, "restaurantUrl":"www.foodpanda.com", "restaurantType":"中文", "description":"好吃又好吃的食物", “停车”:假,“noOfTable”:80, "noOfwaiter":990, “wifi”:假,
"vendorId":1, “目录”:[ { “目录ID”:1, “目录名称”:“食物”, “餐厅 ID”:1, “供应商 ID”:1, “类别”:[ { “类别 ID”:1, "categoryName":"southindian dosa", “目录ID”:1, “餐厅 ID”:1, "vendorId":1,
"subCategory":[
{
"subCategoryId":1,
"catalogId":1,
"catCategory_Id":1,
"vendorId":1,
"restaurantId":1,
"subCategoryName":"chapatti",
"product":[
{"productId":2,
"vendorId":2,
"restaurantId":1,
"calalogId":1,
"catCategoryId":2,
"subCategoryId":1,
"taxClassId":12,
"activationDate":1455906600000,
"availability":false,
"discound":12.0,
"hot":true,
"listPrice":120.0,
"longDescription":"Description",
"productName":"Mobile",
"sellingPrice":3000.0,
"weight":20,
"productOption":[
]}]}]}]},
{
"catalogId":2,
"catalogName":"drinks",
"restaurantId":1,
"vendorId":1,
"category":[
{
"categoryId":2,
"categoryName":"Norythindian dosa",
"catalogId":2,
"restaurantId":1,
"vendorId":1,
"subCategory":[
{"subCategoryId":3,
"catalogId":1,
"catCategory_Id":2,
"vendorId":1,
"restaurantId":1,
"subCategoryName":"Paratha",
"product":[]},
{
"subCategoryId":2,
"catalogId":2,
"catCategory_Id":2,
"vendorId":1,
"restaurantId":1,
"subCategoryName":"apple juice",
"product":[
{
"productId":1,
"vendorId":1,
"restaurantId":1,
"calalogId":1,
"catCategoryId":1,
"subCategoryId":2,
"taxClassId":10,
"activationDate":1455733800000,
"availability":true,"discound":0.0,
"hot":true,
"listPrice":10.0,
"longDescription":"onion dosa with butter",
"productName":"oninoin dosa",
"sellingPrice":12.6,
"weight":100,
"productOption":[
{
"productOptionId":1,
"productId":1,
"optionName":"coca cola drinks",
"optionValues":"200",
"comment":"all the dishes are available ",
"price":10.0},
{
"productOptionId":2,
"productId":1,
"optionName":"coca cola drinks",
"optionValues":"500",
"comment":"allncjncjd cndknc mcnmdc",
"price":20.0}
]}
]}
]}
]}
]}
【问题讨论】:
-
在向社区提问之前您尝试过什么?
-
您应该尝试更好地解释并格式化您的问题
标签: javascript html arrays json