I need a purely text serialization of an object in VBScript.
Does VBScript provide any built-in support for serialization or is it up to me to enumerate the properties and put them in a string?
I need a purely text serialization of an object in VBScript.
Does VBScript provide any built-in support for serialization or is it up to me to enumerate the properties and put them in a string?
Thought this might be useful to someone who got here from Google.
You could use a JSON serializer. (for ASP) Though I've noticed it has issues with COM objects. (Solved w/ Hack) As long as you're mostly serializing basic VBScript classes you'll be good.
No, VBScript doesn't have any object serialization functionality built in. You will have to implement it yourself (or try finding some ready-made solutions).
And here is my shameless self promotion:
https://github.com/rcdmk/aspJSON
A fast classic ASP JSON parser and encoder for easy JSON manipulation to work with the new JavaScript MV* libraries and frameworks