>>>I have an object with some properties.... In the debug i can see al properties, but when i use amembers it returns an incorrect number....11 instead the real number of properties contained in the object... Look at the image where you can see all the properties and the the amembers() result...
>>
>>Amembers without any flags would only return info for public properties.
>>Another reason for it to return 11 is that you are not using mdot prefix.
>
>I try to explai better the situation with last tests i did.
>I noted that with amembers i see only properties that in some way i put as controlsource of objects in my form... Once i have shown them in the form amembers begons to see them...
>Some info.... My object is not a result of a simple scatter command.... It comes from a rest call (using Web Connection) where the json result has been serialized by the web connection class...
>I receive all for example 15 fields in this object and those that i link to a control (like a textbox) then i can see in amembers. The others are not seen.... Another operation to see them is in the debug if i select every single properties in the watch window... if i double click on every single values i see amembers() increasing the value it returns...
One thing that I missed in there, you are getting a JSON string and deserializing using WC. Did you ever tried using Marco's json handler instead (Marco Plaza)? Or from Brian Marquis (
http://fox.wikis.com/wc.dll?Wiki~JSONParser).