rsanchez / json

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

Allow custom JSON keynames / return entry_id as integer #11

Closed GDmac closed 12 years ago

GDmac commented 12 years ago

This allows to have different keynames than the fieldnames in your JSON. Set fieldnames to custom key names by fieldname=keyname

fields="entry_id=id|title|entry_date=start|expiration_date=end"

(and return entry_id as an integer)