0

Working with Joomla and Wordpress CMSs, I found weird rows in both of them, for example WordPress has a row in wp_options table called wp_user_roles which filled with a:8:{s:13:"administrator";a:2:{s:4:"name";s:13:"Administrator"... which i don't call it JSON but obviously its something very similar, I just want to know what it is, also I couldn't find any function to parse it in php easily.

no0ob
  • 335
  • 4
  • 18

1 Answers1

2

This is not JSON, but serialized

serialize
unserialize

As commented by Nigel Ren, in this Question (How to use php serialize() and unserialize()) serialize and unserialize are explained

yunzen
  • 32,854
  • 11
  • 73
  • 106