- json_decode: documentation ( source)
- urldecode: documentation ( source)
- http_build_query: documentation ( source)
<?php
$res= json_decode('{"fields":["id","identity","action_id","brand_id","player_id","game_id","currency_id","balance","bet","win","freespin","double","bonus","refund","time","request"]}');
$url = urldecode(http_build_query($res));
print ($url);