src/Generator/Analyzer/Steps/LoadRawData.php
protected function parseFieldOptionsJson()
    {
        foreach ($this->data->rawData['fields'] as $fieldId => &$fieldData) {

            $optionsJson = trim( $fieldData['options'] );

            if (empty($optionsJson)) continue;

            $fieldData['options'] = json_decode($optionsJson, true);
        }

        unset($fieldData);
    }
protected function parseFieldOptionsJson()
    {
        foreach ($this->data->rawData['fields'] as $fieldId => &$fieldData) {

            $optionsJson = trim( $fieldData['options'] );

            if (empty($optionsJson)) continue;

            $fieldData['options'] = json_decode($optionsJson, true);
        }

        unset($fieldData);
    }
protected function parseFieldOptionsJson ( ) { foreach ( $ this -> data -> rawData [ 'fields' ] as $ fieldId => & $ fieldData ) { $ optionsJson = trim ( $ fieldData [ 'options' ] ) ; if ( empty ( $ optionsJson ) ) continue ; $ fieldData [ 'options' ] = json_decode ( $ optionsJson , true ) ; } unset ( $ fieldData ) ; }
Parses json to array for fields with 'options' set
Parses json to array for fields with options set