title: Get JSON next and previous object
body: <p>How to get next (120), previous (122) object? Currently at  second object, 141. Also, I have control on the JSON format.</p>
  
  <pre><code>var articleId = 141;
  
  var url = {
      "Article": [
          {
              "Id": "122",
              "Title": "Article #122"
          },
          {
              "Id": "141",
              "Title": "Article #141"
          },
          {
              "Id": "120",
              "Title": "Article #120"
          }
      ]
  };
  
  $.each(url.Article, function (i, data) {
      var current = data.Id;
  
      if (current == articleId)
          console.log(this.Title)
  
     //next
     //previous
  });
  </code></pre>