google.internal._vertex_unwrap_json

(internal) `vercel env pull` and friends store a credential document as a JSON *string* (`"{\"type\": …}"`). Unwrap that one level so both spellings work; anything else is returned untouched.

Reference version

Signature

function google.internal._vertex_unwrap_json(document: string) -> string

(internal) vercel env pull and friends store a credential document as a JSON string ("{\"type\": …}"). Unwrap that one level so both spellings work; anything else is returned untouched.

Source:<builtin>/google/ns_internal/vertex.bamlbytes 15541822