solid-ui
    Preparing search index...

    Function serialize

    • Serialize to the appropriate format

      Parameters

      • target: null | Formula | NamedNode | BlankNode

        The graph or nodes that should be serialized

      • kb: Formula

        The store

      • Optionalbase: unknown
      • OptionalcontentType: string

        The mime type. Defaults to Turtle.

      • Optionalcallback: (err: undefined | null | Error, result?: string) => any
      • Optionaloptions: { flags?: string; namespaces?: Record<string, string> }
        • Optionalflags?: string

          A string of letters, each of which set an options e.g. deinprstux

        • Optionalnamespaces?: Record<string, string>

          A set of [prefix, uri] pairs that define namespace prefixes

      Returns undefined | string