R/query_mapper.R

Defines functions query_mapper

# query mapper for BodyPattern
# attempt to convert input to an R object regardless of format
query_mapper <- function(x) {
  if (is.null(x)) {
    return(NULL)
  }
  x
}

Try the webmockr package in your browser

Any scripts or data that you put into this service are public.

webmockr documentation built on June 29, 2025, 9:06 a.m.