Serialize a GX model object to XML
Gosu provides multiple ways to serialize the contents of a GX model object.
- The
Bytesproperty, which is the preferred technique - The asUTFString method
When serializing the contents of a GX model object, validation of the model is disabled by default. The validation is unnecessary because it is not possible for the populated model to be invalid. Disabling the validation reduces the GX model heap space size, which can be significant for a bundle that contains hundreds of GX models.
