JSON validation by Sense


(aristechnologypartners) #1

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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/84b0c616-4f62-4219-9efa-0d293eebd761%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Nik Everett) #2

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 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/84b0c616-4f62-4219-9efa-0d293eebd761%40googlegroups.com.
For more options, visit 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/2CE1D3EF-7A05-4CD3-A0A5-5F0BA147F2C1%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


(Boaz Leskes) #3

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 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.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/84b0c616-4f62-4219-9efa-0d293eebd761%40googlegroups.comhttps://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.

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/9d844c1a-1f58-4c76-b5a6-3599de3207e8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #4