Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pass object to method NOT by reference
Message
From
09/07/2016 10:51:38
 
 
To
09/07/2016 05:05:40
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8.1
Network:
Windows Server 2012 R2
Database:
Visual FoxPro
Application:
Desktop
Virtual environment:
VMWare
Miscellaneous
Thread ID:
01638158
Message ID:
01638171
Views:
72
Hi Dragan, nfJson can serialize the most complex object,
even objects with two dimensional arrays containing objects,
and collections containing collections and arrays.

Regarding type conversion, it is done automatically ( except for
specific numeric values like double, float or money , -wich btw are
rarely used - they'll pass as numeric )

I don't know why there's this specific need for passing an
object as value, but this is the only solution, and there's no
significant performance penalty involved, ( unless you
serialize objects with a high resulting string size )

Marco
@nfoxdev
github.com/nfoxdev
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform