title: Uncaught SyntaxError: Unexpected token p in JSON at position 36
body: <p>I´m populating webpage with sharepoint so I do a json to get data with ajax like these:</p>
  
  <pre><code>function completeFleet(data, target, eng) {
  var items = data.d.results;
  console.log(items);
  var prefix = "&lt;div class='row'&gt;";
  var sufix = "&lt;/div&gt;";
  var menu = "&lt;div class='col-md-4'&gt;";
  var cat = "";
  var spec = "";
  var counter = 0;
  var obj = null;
  for (item in items) {
      spec = "";
      if (counter == 1) {
  
          menu += "&lt;/div&gt;&lt;div class='col-md-4'&gt;";
          counter = 0;
      }
      if (eng) {
          obj = JSON.parse(items[item].Specifications);
          for (var key in obj) {
              spec += "&lt;div class='row'&gt;&lt;div class='col-md-12 ftBottomSeparator'&gt;&lt;span class=' t10'&gt;" + key + "&lt;/span&gt;&amp;nbsp;&lt;span class='t06' style='float:right;'&gt;" + obj[key] + "&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;";
          }
          menu += "&lt;div class='row ftContainerOut'&gt;&lt;div class='col-md-12 ftContainer'&gt;&lt;div class='row ftHeader'&gt;&lt;div class='col-xs-9 t09'&gt;" + items[item].Title + "&lt;/div&gt;&lt;div class='col-xs-3 text-right'&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class='row'&gt;&lt;div class='col-md-6' style='padding-top:10px'&gt;&lt;img src='" + items[item].Imagen.Url + "' class='img-responsive img-center' style='border:0px solid blue; max-width:150px;max-height:120px;' /&gt;&lt;/div&gt;&lt;div class='col-md-6'&gt;" + spec + "&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;";
      } else {
          obj = JSON.parse(items[item].Especificaciones);
          for (var key in obj) {
              spec += "&lt;div class='row'&gt;&lt;div class='col-md-12 ftBottomSeparator'&gt;&lt;span class=' t10'&gt;" + key + "&lt;/span&gt;&amp;nbsp;&lt;span class='t06'  style='float:right;'&gt;" + obj[key] + "&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;";
          }
  
          menu += "&lt;div class='row ftContainerOut'&gt;&lt;div class='col-md-12 ftContainer'&gt;&lt;div class='row ftHeader'&gt;&lt;div class='col-xs-9 t09'&gt;" + items[item].Title + "&lt;/div&gt;&lt;div class='col-xs-3 text-right'&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class='row'&gt;&lt;div class='col-md-6' style='padding-top:10px'&gt;&lt;img src='" + items[item].Imagen.Url + "' class='img-responsive img-center' style='border:0px solid blue; max-width:150px;max-height:120px;' /&gt;&lt;/div&gt;&lt;div class='col-md-6'&gt;" + spec + "&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;";
      }
      counter++;
  }
  $(target).html("&lt;div class='panel-body'&gt;&lt;div class='container-fluid'&gt;" + prefix + menu + sufix + "&lt;/div&gt;&lt;/div&gt;");
  
  }
  </code></pre>
  
  <p>I have 5 objects different, but one of these don´t show data, my webpage is in english and spanish, in english it charge all data, but in spanish one of these
  doesn´t works and I get error at position 36, and position 36 is the item don´t show. Any idea what is wrong here? Regards</p>
  
  <p><a href="https://i.stack.imgur.com/FPKfQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FPKfQ.png" alt="Error image"></a></p>
  
  <p>These one works
  <a href="https://i.stack.imgur.com/TgQcd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TgQcd.png" alt="Works"></a></p>
  
  <p>and this no works</p>
  
  <p><a href="https://i.stack.imgur.com/p0AUI.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/p0AUI.png" alt="noworks"></a></p>
  
  <p>---------Update------------</p>
  
  <p>If I comment this line:</p>
  
  <pre><code> //obj = JSON.parse(items[item].Especificaciones);
  </code></pre>
  
  <p>and put </p>
  
  <pre><code> if(items[item].Especificaciones){
   JSON.parse(items[item].Especificaciones);
     }
  </code></pre>
  
  <p>it now runs  with image, but now I don´t have my "Especificaciones" lists</p>
  
  <p>Now when I use</p>
  
  <pre><code>var stringifyObj = JSON.stringify(items[item].Especificaciones); 
  var obj = JSON.parse(stringifyObj);
  </code></pre>
  
  <p>I get something like these:</p>
  
  <p><a href="https://i.stack.imgur.com/QsS38.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QsS38.png" alt="Keyword"></a></p>