rsanchez / json

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

custom entries are cutting out #21

Closed dok closed 10 years ago

dok commented 10 years ago

I have a call {exp:json:entries fields="title|custom_1|custom_2" channel="prod" dynamic="no"}

And I get as a result [{"title":"foo","custom_1":"[10] [pr","custom_2":"[6] [spe"}]

It seems that custom fields are being shortened unintentionally. Do you know what the issue may be?

rsanchez commented 10 years ago

Can you check the database, exp_channel_data, and see if the data is truncated there? You'll need to know the field IDs for those fields.

Those look like playa fields, is that true?

dok commented 10 years ago

You are right. They are playa fields and have been truncated for some reason. Thank you for the help.