Q:

When I am accessing the particular value in the array of JSON

Here is my array of JSON data.  I want access the UserID field from array of JSON named as jsonResult. Please suggest me right solution for above JSON.  
[ 
  {
    "UserRelationshipID":1,
    "SubordinateUserID":1014,
    "UserID":3,
    "UserRelationshipTypeID":1
  }
]

A:

Assuming you have array of objects, you can get the userid as shown below.  Later you can either save the result in a variable or something else according to your need instead of consoling the result.  

var jsonResult = [ {"UserRelationshipID":1,"SubordinateUserID":1014,"UserID":3,"UserRelationshipTyp‌​eID":1}, {"UserRelationshipID":1,"SubordinateUserID":2537,"UserID":3,"UserRelationshipTyp‌​eID":1}, {"UserRelationshipID":1,"SubordinateUserID":3,"UserID":4,"UserRelationshipTypeID‌​":1}, {"UserRelationshipID":1,"SubordinateUserID":7,"UserID":4,"UserRelationshipTypeID‌​":1}, {"UserRelationshipID":1,"SubordinateUserID":6,"UserID":2537,"UserRelationshipTyp‌​eID":1}, {"UserRelationshipID":1,"SubordinateUserID":3,"UserID":2537,"UserRelationshipTyp‌​eID":1}]

for(var i=0; i<jsonResult.length; i++){
  console.log(jsonResult[i].UserID)
}

