I have column in mysql DB which contains serialized data (used PHP JSON encode to serialize them).
Here is an example:
{“name”:”Group ltd”,”email”:”support@domain.org”,”auth”:”Andrey Ucholnik”}
Is there a built in function in mysql to extract these values without PHP ?
I mean to build query that will unserialize data.
Of course its possible to use combination of LOCATE and SUBSTR function to do that but I prefer something built in if possible.
There is no build in function in MySQL but by using small code in PHP you can easily do it as under: