# JSON validation by Sense

**URL:** <https://discuss.elastic.co/t/json-validation-by-sense/16676>\
**Category:** Elasticsearch\
**Created:** [March 28, 2014, 12:41pm UTC](https://discuss.elastic.co/t/json-validation-by-sense/16676 "2014-03-28T12:41:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![aristechnologypartne](https://avatars.discourse-cdn.com/v4/letter/a/b38774/32.png) [@aristechnologypartne](https://discuss.elastic.co/u/aristechnologypartne)\
**Post date:** [March 28, 2014, 12:41pm UTC](https://discuss.elastic.co/t/json-validation-by-sense/16676/1 "2014-03-28T12:41:48Z")

</div>

perhaps fairly naive question, but does Sense let you validate JSON  
documents before they are sent to ES? Thx.

I'm using one that comes with "latest" Marvel and only see "Request" and  
"Copy as cURL" and "Auto Indent" functions.

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/84b0c616-4f62-4219-9efa-0d293eebd761%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/84b0c616-4f62-4219-9efa-0d293eebd761%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![nik9000](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nik9000/32/44947_2.png) [@nik9000](https://discuss.elastic.co/u/nik9000)\
**Post date:** [March 28, 2014, 12:51pm UTC](https://discuss.elastic.co/t/json-validation-by-sense/16676/2 "2014-03-28T12:51:28Z")

</div>

The one in chrome will refuse to auto indent invalid json, I believe.

Sent from my iPhone

> On Mar 28, 2014, at 8:41 AM, [aristechnologypartners@gmail.com](mailto:aristechnologypartners@gmail.com) wrote:
> 
> perhaps fairly naive question, but does Sense let you validate JSON documents before they are sent to ES? Thx.
> 
> ## I'm using one that comes with "latest" Marvel and only see "Request" and "Copy as cURL" and "Auto Indent" functions.
> 
> You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/84b0c616-4f62-4219-9efa-0d293eebd761%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/84b0c616-4f62-4219-9efa-0d293eebd761%40googlegroups.com).  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/2CE1D3EF-7A05-4CD3-A0A5-5F0BA147F2C1%40gmail.com](https://groups.google.com/d/msgid/elasticsearch/2CE1D3EF-7A05-4CD3-A0A5-5F0BA147F2C1%40gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Boaz\_Leskes](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/boaz_leskes/32/723_2.png) [@Boaz\_Leskes](https://discuss.elastic.co/u/Boaz_Leskes)\
**Post date:** [April 1, 2014, 12:12pm UTC](https://discuss.elastic.co/t/json-validation-by-sense/16676/3 "2014-04-01T12:12:55Z")

</div>

If the json isn't valid Sense will display a little red icon on the line  
number where things break (including a message why).

Cheers,  
Boaz

On Friday, March 28, 2014 1:51:28 PM UTC+1, Nikolas Everett wrote:

> The one in chrome will refuse to auto indent invalid json, I believe.
> 
> Sent from my iPhone
> 
> On Mar 28, 2014, at 8:41 AM, [aristechnologypartners@gmail.com](mailto:aristechnologypartners@gmail.com) wrote:
> 
> perhaps fairly naive question, but does Sense let you validate JSON  
> documents before they are sent to ES? Thx.
> 
> I'm using one that comes with "latest" Marvel and only see "Request" and  
> "Copy as cURL" and "Auto Indent" functions.
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/84b0c616-4f62-4219-9efa-0d293eebd761%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/84b0c616-4f62-4219-9efa-0d293eebd761%40googlegroups.com)[https://groups.google.com/d/msgid/elasticsearch/84b0c616-4f62-4219-9efa-0d293eebd761%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/84b0c616-4f62-4219-9efa-0d293eebd761%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/9d844c1a-1f58-4c76-b5a6-3599de3207e8%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/9d844c1a-1f58-4c76-b5a6-3599de3207e8%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:39am UTC](https://discuss.elastic.co/t/json-validation-by-sense/16676/4 "2017-07-06T01:39:03Z")

</div>


