In SharePoint Lists you can add a fully functional rating column. With "functional" I mean that you can both see the ratings (value and stars) of every list item and you can click on a star to add your rating for that item. I marked with red in this picture what rating column I'm referring to.
I would like to have the same functional rating embedded into a Grid view. I'm creating the Grid view using the JSON formatting option. This is what I currently created, I'd like to add those functional stars from the list view in the red marked part.
Grid view where I'd like to put the functional rating: