It is also possible to chain SmartObject method to execute more then one method, this is useful for deserializing nested or complex types items in one method execution. All properties that makes up the object.įor entities with complex types or nested objects the complex type or nested object will be returned as serialized items, the serialized item will need to be deserialized before being displayed and in a case where data is being captured the item should be serialized then passed to the SmartObject as a serialized item. Input properties - Serialized array as text. Serialize Add Item To Array: Adds an item to an existing array. Return properties - Serialized array as text. Input properties - Serialized list as text. Serialize List To Array: Takes a generic list and converts it to an array. Return properties - Serialized array as text Input properties: - All properties that makes up the object. When an object is serialized, information that identifies its class is recorded in the serialized stream. The Object Serialization Specification describes object serialization in detail. Serialize Item To Array: Creates a one item array with the item in it and returns the array as serialized text. A (Java) class can override this default serialization and define its own way of serializing objects of that class. Return properties - All items in the array deserialized to the properties that makes them up. In some cases this could save a deserialize method call. If the items are complex, they are deserialized to the properties that make them up. Return properties - All items in the array as serialized text.ĭeserialize Typed Array: Deserializes an array to deserialized items. Input properties: - Serialized array as text. In some cases this could save a serialize method call. If the items are complex, they are returned as serialized values. Return properties - All properties that make up the object, returned as simple types and nested serialized objects.ĭeserialize Array: Deserializes an array to serialized items. Input properties - Serialized object as text. Return properties - Serialized object as text.ĭeserialize: Deserializes text to an object. Input properties - All properties that make up the object. Serialize: Serializes an object into text. Serialization is a more primitive notion than persistence although pickle reads and writes file objects, it does not handle the issue of naming persistent objects, nor the (even more complicated) issue of concurrent access to persistent objects. Įnum: serialization and deserialization of Enums data types. Simple Type: serialization and deserialization of basic object types.Ĭomplex Type: serialization and deserialization of complex data type objects. When working with serialization the property names for the serialization service objects are. For an example that demonstrates how to use Serialization and Deserialization in SmartObjects, see the video How-To: Create a REST Service Instance and SmartObject.Īlso see the topic Working with Endpoint SmartObjects: Serialization and Deserialization in the User Guide for more information on serialization and deserialization in SmartObjects.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |