# How to use json in update script

**URL:** <https://discuss.elastic.co/t/how-to-use-json-in-update-script/21277>\
**Category:** Elasticsearch\
**Created:** [December 16, 2014, 3:04pm UTC](https://discuss.elastic.co/t/how-to-use-json-in-update-script/21277 "2014-12-16T15:04:43Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![PeteyPabPro](https://avatars.discourse-cdn.com/v4/letter/p/eb9ed0/32.png) [@PeteyPabPro](https://discuss.elastic.co/u/PeteyPabPro)\
**Post date:** [March 1, 2016, 5:32pm UTC](https://discuss.elastic.co/t/how-to-use-json-in-update-script/21277/4 "2016-03-01T17:32:15Z")

</div>

See [this](https://discuss.elastic.co/t/how-to-update-nested-objects-in-elasticsearch-2-2-script-via-java-api/43135)

---

_[View the full topic](https://discuss.elastic.co/t/how-to-use-json-in-update-script/21277)._
