vec_ptype2.json2: Coercion

Description Usage Arguments Value

View source: R/coerce.R

Description

Double dispatch methods to support vctrs::vec_ptype2().

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## S3 method for class 'json2'
vec_ptype2(x, y, ..., x_arg = "", y_arg = "")

## S3 method for class 'json'
vec_ptype2(x, y, ..., x_arg = "", y_arg = "")

## S3 method for class 'jqson'
vec_ptype2(x, y, ..., x_arg = "", y_arg = "")

## S3 method for class 'pq_jsonb'
vec_ptype2(x, y, ..., x_arg = "", y_arg = "")

vec_ptype2.pq_json(x, y, ..., x_arg = "", y_arg = "")

Arguments

x

Vector types.

y

Vector types.

...

These dots are for future extensions and must be empty.

x_arg

Argument names for x and y. These are used in error messages to inform the user about the locations of incompatible types (see stop_incompatible_type()).

y_arg

Argument names for x and y. These are used in error messages to inform the user about the locations of incompatible types (see stop_incompatible_type()).

Value

A length-zero R object.


jsontools documentation built on March 22, 2021, 5:06 p.m.