I have an instance of the class in an Object.
I have the name of the Class Globals variable in a string.
CallSub doesn't seem to do it.
What I need is the VALUE of the Class Globals variable for a class instance, where I have the name of the variable held in a string.
Why am I trying to do this? This is part of a larger goal to create JSON serialization for class object instances generically and recursively, which is apparently JSON 1.10 does not do. The platform I am inter-operating with deals with serializing classes automatically/generically just fine. For those classes I want to be able to serialize I implement an individualized GetSerializableFields Sub which returns a map of field names and their types which are to be serialized.
I have the name of the Class Globals variable in a string.
CallSub doesn't seem to do it.
What I need is the VALUE of the Class Globals variable for a class instance, where I have the name of the variable held in a string.
Why am I trying to do this? This is part of a larger goal to create JSON serialization for class object instances generically and recursively, which is apparently JSON 1.10 does not do. The platform I am inter-operating with deals with serializing classes automatically/generically just fine. For those classes I want to be able to serialize I implement an individualized GetSerializableFields Sub which returns a map of field names and their types which are to be serialized.
Last edited: