rsanchez / json

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

Base64 data #48

Open simplethemes opened 9 years ago

simplethemes commented 9 years ago

Thanks for the superb add-on. This is not an issue, but a request:

Sometimes I need to store arbitrary Base64 data in a field. Would it be possible to pass an additional unserialize parameter to rebuild arrays from fields of such type?

In a perfect world, something like:

{exp:json:entries channel="registry" unserialize_fields="field1 | field2"}

or even better:

{exp:json:entries channel="registry" unserialize_fields="matrix:field1 | matrix:field2"}
rsanchez commented 9 years ago

Are you using a particular field type to store that data? A custom one, perhaps?