title: ElasticSearch - Failed to parse content to map - Unexpected character ('\"'
body: <p>Wondering if you can help, I'm having issues with my code in Elasticsearch that is giving out an error. My code is below and the output is also below, any help is greatly appreciated. </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>curl -X PUT "localhost:9200/_mapping/jdbc" -H 'Content-Type: application/x-ndjson' -d '
  {
  "mappings": {
  "jdbc" : { 
  "properties" : {
  "mac_client" : {
  "type" : "string",
  "index": "not_analyzed"
  }
  "mac_sniffer" : {
  "type" : "string"
  "index": "not_analyzed"
  }
  "rssi" : {
  "type" : "long"
  }
  "timestamp" : {
  "type" : "date"
  "format" : "strict_date_optional_time||epoch_millis"
  }
  }
  }
  }
  }
  '</code></pre>
  </div>
  </div>
  </p>
  
  <p><strong>Error I am getting</strong>
  <div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>    {"error":{"root_cause":[{"type":"parse_exception","reason":"Failed to parse content to map"}],"type":"parse_exception","reason":"Failed to parse content to map","caused_by":{"type":"json_parse_exception","reason":"Unexpected character ('\"' (code 34)): was expecting comma to separate OBJECT entries\n at [Source: org.elasticsearch.common.compress.deflate.DeflateCompressor$1@66d3b7cb; line: 10, column: 12]"}},"status":400}</code></pre>
  </div>
  </div>
  </p>