rsanchez / json

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

Allow custom JSON keynames #10

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"
rsanchez commented 12 years ago

Can you send this instead on the develop branch? And add the syntax to the read me? Thanks for this, it's a good idea.