My immediate question from this is "is there an escape mechanism to allow for "." in a field name?". I checked and the answer's no. That's fine but it might be worth a note.
Originally posted by @mhilton in #8945 (comment)
According to DataBricks the path https://docs.databricks.com/gcp/en/sql/language-manual/functions/variant_get
. path: A STRING literal with a well-formed JSON path expression.
The internet suggests that JSON path escaping looks like they follow the JSON escaping rules
(aka " should be \")
https://ietf-wg-jsonpath.github.io/draft-ietf-jsonpath-base/draft-ietf-jsonpath-base.html#name-name-selector
https://www.rfc-editor.org/rfc/rfc8259#section-7