private function fieldList($key, $value, array $fields)
    {
        return [
            'type'   => $fields[$key]['type'],
            'before' => ['render' => Json::parse($value[0])],
            'after'  => ['render' => Json::parse($value[1])],
        ];
    }
private function fieldList($key, $value, array $fields)
    {
        return [
            'type'   => $fields[$key]['type'],
            'before' => ['render' => Json::parse($value[0])],
            'after'  => ['render' => Json::parse($value[1])],
        ];
    }
private function fieldList ( $ key , $ value , array $ fields ) { return [ 'type' => $ fields [ $ key ] [ 'type' ] , 'before' => [ 'render' => Json :: parse ( $ value [ 0 ] ) ] , 'after' => [ 'render' => Json :: parse ( $ value [ 1 ] ) ] , ] ; }
Compile changes for list field types.

@param string $key
@param string $value
@param array  $fields

@return array
Compile changes for list field types .