rsanchez/json

Base64 data

simplethemes opened this issue · 1 comments

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"}

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