vlocode-project - v1.40.0-beta-4
    Preparing search index...
    • Normalize a request or response object that was converted from XML into JSON using a Schema definition that defines which properties are of which type and converts the properties where required so that they are compatible with the schema.

      Modifies the object passed as argument instead of creating a new object.

      Type Parameters

      • T extends object

      Parameters

      • schema: Definition

        Schema definition

      • obj: T

        request or response object

      • Optionaloptions: { deleteUnknown?: boolean }

        Options that control what is normalized

      Returns T

      Schema normalized object