• Generate the JSON-LD representation of the vocabulary.

    The function does not generate JSON-LD directly; instead, a standard JS object is generated and the built-in JSON serializer takes care of the idiosyncrasies of the JSON syntax.

    Parameters

    • vocab: Vocab

      The internal representation of the vocabulary

    Returns string