marpet
2
Geojson is not supported by by SNAP, but you can convert it to a WKT (GeoJSON to WKT Converter Online - MyGeodata Cloud).
You can use this WKT with the subset operator. Here is an example.
Instead of specifying the WKT in the code you can read it from a file.