JSON mutation request to set edge facets

Thank you @harshil_goel But the given page gives an example of adding facets as triples not json. I want the same action JSON format. I am not sure how we can provide facets in JSON request