Support

Account

Home Forums General Issues Why datas are stored in JSON ?

Solved

Why datas are stored in JSON ?

  • Hi,

    I wonder why list/choice based fields are stored in JSON in DB.

    Thanks.

  • They are actually stored as serialized data. ACF holds these values as arrays and when WP saves these values to the DB it converts them to serialized data. This is how WP stores all objects and arrays.

  • Ok, thank you. It’s not very optimized for DB speed to store list of values serialized, it’s strange…

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Why datas are stored in JSON ?’ is closed to new replies.