As the following string, use json_decode to convert it into an array. However, after conversion, the value of TbManager:userAccesses[] is still a string.
TbManager:userAccesses[] could be converted to array by calling json_decode again for it, json_decode($json['TbManager:userAccesses[]']), but how to convert it in the first json_decode call?
$json = '{
"TbUser:username":"admin",
"TbManager:userAccesses[]":"[\"1\",\"8\"]"
}'
// converted to JSON with 'TbManager:userAccesses[]':string
// how to conver TbManager:userAccesses[] as array type
$json = json_decode($json)