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.
Asked
Active
Viewed 69 times
0

no0ob
- 335
- 4
- 18
-
2Function `unserialize`. – u_mulder Feb 01 '19 at 08:16
-
1http://php.net/manual/en/function.serialize.php – Vel Feb 01 '19 at 08:16
-
1https://stackoverflow.com/questions/8641889/how-to-use-php-serialize-and-unserialize – Nigel Ren Feb 01 '19 at 08:17
1 Answers
2
This is not JSON, but serialized
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