Hi, Marc! Hi, Everyone!

Hm... May be I incorrect suggest my thought.
In JSON-object  [{"mystatus":"test"}] I can acces to "test" in this way:
jObj.mystatus. It is.
But how can I access to "mystatus"? jObj.field? jObj.type?
jObj.somethingelse?
Please, help me!

P.S.
I need get "mystatus" as a String.

---
С уважением,
Jagget

On 25 March 2011 13:39, Marc Puts <[email protected]> wrote:

> On 03/25/2011 10:00 AM, Jagget wrote:
> > Hi, Marc! Thanks for quick answer!
> >
> > This is great for situations where I know exactly what I'm looking
> > field "status". And if we consider the more general case and determine
> > which fields have sent me a server?
> >
> > ---
> > С уважением,
> > Jagget
>
> You can use a for..in loop for that.
>
> Here's a good example:
> http://www.w3schools.com/js/js_loop_for_in.asp
>
> Marc
>
>
>
> ------------------------------------------------------------------------------
> Enable your software for Intel(R) Active Management Technology to meet the
> growing manageability and security demands of your customers. Businesses
> are taking advantage of Intel(R) vPro (TM) technology - will your software
> be a part of the solution? Download the Intel(R) Manageability Checker
> today! http://p.sf.net/sfu/intel-dev2devmar
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to