Function jsonToModel

  • Parse JSON implementing the cross stitch pattern schema into the corresponding typescript objects. Constructor validation will enforce validity.

    Returns

    A CrossStitchPattern object.

    Parameters

    • json: string

      The json string to be parsed into a CrossStitchPattern model object.

    Returns CrossStitchPattern

Generated using TypeDoc