CycloneDX JavaScript Library - Node - v9.4.0
    Preparing search index...

    Class JsonValidator

    Hierarchy (View Summary)

    Index

    Constructors

    Accessors

    Methods

    Constructors

    Accessors

    Methods

    • Validate the data against CycloneDX spec of this.version.

      Promise completes with one of the following:

      • null, when data was valid
      • something representing the error details, when data was invalid representing the error details, when data was invalid

      Promise rejects with one of the following:

      Parameters

      • data: string

      Returns Promise<any>