rsanchez / json

Output ExpressionEngine data in JSON format.
http://devot-ee.com/add-ons/json/
101 stars 234 forks source link

Include categories in the JSON object #24

Closed santheo closed 10 years ago

santheo commented 10 years ago

Hi Rob-

Would it be possible to have the tag return a list of categories for each entry as well This would super useful for the site I'm building. Thanks!

-Sandy

rsanchez commented 10 years ago

The develop branch has a show_categories="yes" parameter, which will add categories to the json object.

santheo commented 10 years ago

Thanks, Rob. Do you think the develop branch is safe to use in production? If not, any particular risks I should look out for?

rsanchez commented 10 years ago

I do. As you can see, that branch is actually quite old and has been used by many people. But of course you should test, test and test again!!