* Serializes provided value using context. * * @param {TypeLike } x Some value. * * @returns {TypeLike } Value serialized by context.
(x: TypeLike<TObject>)
| 356 | * @returns {TypeLike<any>} Value serialized by context. |
| 357 | */ |
| 358 | public serialize(x: TypeLike<TObject>): TypeLike<any> |
| 359 | { |
| 360 | return this.serializer.serialize(x, this); |
| 361 | } |
| 362 | |
| 363 | /** |
| 364 | * Deserializes provided value using context. |