# Facets in json mutation

**URL:** <https://discuss.dgraph.io/t/facets-in-json-mutation/8133>\
**Category:** Dgraph Clients\
**Tags:** kind:question, dgraph-js\
**Created:** [January 6, 2018, 4:01pm UTC](https://discuss.dgraph.io/t/facets-in-json-mutation/8133 "2018-01-06T16:01:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![diggy](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/diggy/32/3666_2.png) [@diggy](https://discuss.dgraph.io/u/diggy)\
**Post date:** [January 6, 2018, 4:01pm UTC](https://discuss.dgraph.io/t/facets-in-json-mutation/8133/1 "2018-01-06T16:01:36Z")

</div>

**Moved from GitHub [dgraph-js/11](https://github.com/dgraph-io/dgraph-js/issues/11)**

_Posted by_ [dzeroone](https://github.com/dzeroone):

How should I add facets in json.

---

<div class="post-metadata">

**Author:** ![diggy](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/diggy/32/3666_2.png) [@diggy](https://discuss.dgraph.io/u/diggy)\
**Post date:** [January 8, 2018, 12:56am UTC](https://discuss.dgraph.io/t/facets-in-json-mutation/8133/2 "2018-01-08T00:56:25Z")

</div>

[peterstace](https://github.com/peterstace) _commented_ :

Hi @dzeroone , I’ve recently added some documentation for JSON mutations here: [https://docs.dgraph.io/master/mutations/#facets](https://docs.dgraph.io/master/mutations/#facets)

This applies to the JS, Go, Java etc. clients.

---

<div class="post-metadata">

**Author:** ![diggy](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/diggy/32/3666_2.png) [@diggy](https://discuss.dgraph.io/u/diggy)\
**Post date:** [July 11, 2020, 4:10am UTC](https://discuss.dgraph.io/t/facets-in-json-mutation/8133/3 "2020-07-11T04:10:07Z")

</div>


