- json_decode: documentation ( source)
- str_replace: documentation ( source)
<?php
$str = str_replace('\\', '', '{\"tipo\":\"mysql\",\"apelido\":\"MAIN\",\"port\":\"3306\",\"producao\":1,\"host\":\"fusiontdb-aurora-cluster.cluster-cyek5oxll00n.us-west-2.rds.amazonaws.com\",\"name\":\"fusiontr_ak\",\"pindex\":0,\"user\":\"fusiontr_ak\"}');
echo json_decode($str);