jsonpath-plus
    Preparing search index...

    Type Alias JSONPathCallback

    JSONPathCallback: (
        preferredOutput: any,
        type: "value" | "property",
        fullRetObj: ReturnObject,
    ) => void

    Type Declaration

      • (
            preferredOutput: any,
            type: "value" | "property",
            fullRetObj: ReturnObject,
        ): void
      • Parameters

        • preferredOutput: any

          Using any type instead of PreferredOutput so that user can supply flexible type

        • type: "value" | "property"
        • fullRetObj: ReturnObject

        Returns void