Skip to main content
Version: 2023

SalXML

Namespace: PPJ.Runtime.Xml

Assembly: PPJ.Web.49 (4.9.0.0)

Serializer for any object with PPJ native types.

public class SalXML

Constructors

Instance memberSalXML(stream)

Construct from a stream

NameTypeDescription
streamStream

Instance memberSalXML(filePath)

Construct from a filePath

NameTypeDescription
filePathString

Methods

Instance memberDeserialize<T>()

Deserializes the object of the specified type from XML.

ParameterTypeDescription
T

Returns: T.

Instance memberDeserialize()

Deserializes any object from XML. The type name is resolved from the first node.

Returns: Object.

Instance memberSerialize<T>(o)

Serializes the object of the specified type to XML.

ParameterTypeDescription
T
oObject