Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

JSON syntax to reference specific element

Status
Not open for further replies.

KirbyWallace

Programmer
Dec 22, 2008
65
US
I've wracked my mind enough on this. Time to bring in some experts. I'm absolutely a beginner on handling JSON text that has been parsed into an object.



In the following image, you will see at the bottom of the drilldown a reference to "LineItemKey".

tektip.jpg


I've tried every variant of "oPO.Orders[0].Releases[0].Lineitems[0].LineItemKey" that I can think of.

Can someone please give me an example of javascript code that will reference that piece of data? Please? ;-) I'm pulling hair our now....

Thanks!
 
Nevermind... I'm sorry...

As I was typing that message, I decided to try the "variant" that I typed in that very message and lo, and behold... THAT WAS IT!

Nothing like asking folks to help you do something you just did and didn't know it! ;-)


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top