MCPcopy Create free account
hub / github.com/dipscope/TypeManager.TS / serialize

Method serialize

src/serializer-context.ts:358–361  ·  view source on GitHub ↗

* Serializes provided value using context. * * @param {TypeLike } x Some value. * * @returns {TypeLike } Value serialized by context.

(x: TypeLike<TObject>)

Source from the content-addressed store, hash-verified

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.

Callers

nothing calls this directly

Calls 1

serializeMethod · 0.65

Tested by

no test coverage detected