Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ContentSerializer

Hierarchy

  • ContentSerializer

Index

Methods

Static Parse

Static Serialize

  • Creates a SerializedContent instance from a Content instance

    throws

    If the content Path is not provided and the Origin cannot be determined

    Type parameters

    Parameters

    • content: SavedContent<T>

      The Content that needs to be serialized

    Returns SerializedContent<T>

    the SerializedContent instance

Static Stringify

  • Creates a stringified SerializedContent instance from a Content instance

    Type parameters

    Parameters

    • content: SavedContent<T>

      The Content instance that needs to be serialized

    Returns string

    The Stringified content

Generated using TypeDoc