Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

JsonPathMatcher

import type { JsonPathMatcher } from "https://googleapis.deno.dev/v1/monitoring:v3.ts";

Information needed to perform a JSONPath content match. Used for ContentMatcherOption::MATCHES_JSON_PATH and ContentMatcherOption::NOT_MATCHES_JSON_PATH.

interface JsonPathMatcher {
jsonMatcher?: "JSON_PATH_MATCHER_OPTION_UNSPECIFIED" | "EXACT_MATCH" | "REGEX_MATCH";
jsonPath?: string;
}

§Properties

§
jsonMatcher?: "JSON_PATH_MATCHER_OPTION_UNSPECIFIED" | "EXACT_MATCH" | "REGEX_MATCH"
[src]

The type of JSONPath match that will be applied to the JSON output (ContentMatcher.content)

§
jsonPath?: string
[src]

JSONPath within the response output pointing to the expected ContentMatcher::content to match against.