Store an array in drupal 7 field
serialize is better for small array, cuz unserialize will work faster. So if you work with huge data use json_encode &amp;json_decode.
Comparison PHP Serialization vs JSON Encoding for an array  and your question already answered here on stackoverflow you can find more information about your question.