how to search for a Point of LineString geometry in a json file using OpenLayers 3 [on hold]

how to search for a Point of LineString geometry in a json file using OpenLayers 3 [on hold]

I have a json file with polygons. Here I added the json layer onto OSM layer(baselayer). I would like to search for a Point's LineString in the layer, from which LineString that Point been selected. ...