title: how to get json response from wordpress website
body: <p>I am developing an android app. I dont know anything about wordpress database or how to get data from the website. I googled for how to get data from the wordpress database I have got to know I could get json response from <code>JSON API</code> plugin of the wordpress. but It's hard for me to understand.</p>
  
  <p>I am using food bakery theme for wordpress.</p>
  
  <p>I just want to know how do I get required json response from this website. And where the data of products in that website is located in database. </p>
  
  <p>for example : product,categories etc. etc</p>
  
  <p>My expected response is something like this</p>
  
  <pre><code>{"Category":[{"ProductSubGroupCategoryCode":"PSG03","ProductGroupCategoryCode":"PG01","Description":"WRAPS"
  ,"CHello SirreatedBy":"101","CreatedDate":"\/Date(1486116932060)\/","ModifiedBy":null,"ModifiedDate":null}]},
  {"SubCategory":[{"ProductID":"01","Description":"VEG BURGER","ReferanceID":"VEG BURGER","UOM":"EA","AlterUOM":"EA",
  "ProductGroupCategoryCode":"PG01","ProductSubGroupCategoryCode":"PSG01","TaxCategoryCode":"","TaxCode":"VAT5","BuyPrice":100,
  "AttributeCode":"PA01","BasicPrice":190.48,"TaxRate":5.00,"SalesPrice":200.00,"ProductImage":null,"CurrentStock":10,
  "PlantCode":"PC01","StoreLocationCode":"S01","DisplayOnPOS":true,"POSDisplayOrder":0,"CreatedBy":"101",
  "CreatedDate":"\/Date(1486446663333)\/","ModifiedBy":"101","ModifiedDate":"\/Date(1486447253063)\/"}
  </code></pre>
  
  <p><strong>Edit:</strong>
  I tried with WP REST API i have come upto, when i use this link it gives me response with id 1 <code>http://localhost/mysite/wp-json/wp/v2/posts/1</code>.
  when when I have tried with other post IDs it gives me blank response.</p>
  
  <p>FYI I got post ID for that certain post from <code>wordpress_posts</code> table of wordpress database</p>