How to add a Custom Serializer to alter the Output of REST EXPORT

To the Response/Output of REST EXPORT of a view, I want to add one extra row. So I created a Custom Serializer in my module. The path of the file is: My_Module/src/Plugin/views/style/HindiCustomSerializer.php Here I extended the Serializer Class from core/modules/rest/src/Plugin/views/style/Serializer.php And I am trying to override the render() method in my custom serializer like this.…

Details