I am just getting started playing/using objects. I wrote some routines to determine if a particular property/value exists either in an object, or in an object which is part of an object array.
Given: - the object is complex, i.e. has 1 or more sub-objects included and/or an object array included - the only interest is does the property/value pair exist (true/false) It occurred to me last night, that this processes maybe significantly faster, and less complicated, by simply converting the complex object to text (JSON Stringify) and then use POSITION to locate the property/value pair. Has anyone looked at this? is using JSON faster? slower? no difference? or 'it depends'? other comments? Thanks Chip We have done so much, with so little, for so long; We are now qualified to anything with nothing <sigh> - unknown ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

