Skip to content

[Views integration] Remove unnecessary json_encode and json_decode calls

jensschuppe requested to merge jensschuppe/cmrf_core_d8:unnecessary_json into 8.x-dev

There are some unnecessary calls to json_encode() and json_decode() for the params property of CMRFDataset entities. This MR makes the JSON be parsed in the constructor and removes the JSON-coding calls where they are not needed anymore.

Also, the method for retrieving all datasets is being simplyfied with this MR, since that was closely coupled with the JSON thing.

Edited by jensschuppe

Merge request reports