Home Manual Reference Source Repository
import {Serializer} from 'ug-layout/serialization'
public class | source

Serializer

Method Summary

Public Methods
public

deserialize(serialized: S): RenderableArg<R>

Desserializes a serialized renderable into a Renderable.

public

serialize(node: R): S

Serializes a renderable into a storeable format.

Public Methods

public deserialize(serialized: S): RenderableArg<R> source

Desserializes a serialized renderable into a Renderable.

Params:

NameTypeAttributeDescription
serialized S

Return:

RenderableArg<R>

public serialize(node: R): S source

Serializes a renderable into a storeable format.

Params:

NameTypeAttributeDescription
node R

Return:

S