WEB-INF.cftags.component coldbox.system.core.conversion.ObjectMarshaller
Ability to serialize/deserialize objects.
Constructor Summary | |
---|---|
init()
Constructor. |
Method Summary | |
---|---|
any
|
deserializeGeneric([any binaryObject])
deserialize generic way. |
any
|
deserializeObject([any binaryObject], [string filepath])
Deserialize an object using a binary object or a filepath. |
any
|
deserializeRailo([any binaryObject])
Deserialize the railo way. |
any
|
deserializeWithObjectLoad([any binaryObject])
deserialize using the new object load method. |
private Any
|
readFile(String fileToRead)
Facade to Read a file's content. |
private void
|
saveToFile(any fileToSave, any fileContents, [string charSet='utf-8'])
Facade to save a file's content. |
any
|
serializeGeneric(any target)
Serialize generic way. |
any
|
serializeObject(any target, [string filePath])
Serialize an object and optionally save it into a file. |
any
|
serializeRailo(any target)
Serialize the railo way. |
any
|
serializeWithObjectSave(any target)
Serialize using new object save method. |
Methods inherited from class WEB-INF.cftags.component |
---|
None |
Constructor Detail |
---|
Constructor
Method Detail |
---|
deserialize generic way
binaryObject
- The binary object to inflateDeserialize an object using a binary object or a filepath
binaryObject
- The binary object to inflatefilepath
- The location of the file that has the binary object to inflateDeserialize the railo way
binaryObject
- The binary object to inflatedeserialize using the new object load method
binaryObject
- The binary object to inflateFacade to Read a file's content
fileToRead
- The absolute path to the file.Facade to save a file's content
fileToSave
- The absolute path to the file.fileContents
- The file contentscharSet
- CF File CharSet Encoding to use.Serialize generic way
target
- The complex object, such as a query or CFC, that will be serialized.Serialize an object and optionally save it into a file.
target
- The complex object, such as a query or CFC, that will be serialized.filePath
- The path of the file in which to save the serialized data.Serialize the railo way
target
- The complex object, such as a query or CFC, that will be serialized.Serialize using new object save method
target
- The complex object, such as a query or CFC, that will be serialized.