peel_off_embedded: Peels off the _embedded tier from a JSON-list.

View source: R/request.R

peel_off_embeddedR Documentation

Peels off the _embedded tier from a JSON-list.

Description

This function removes an element named _embedded from the element content moving all of its contents one level up. If obj$content$`_embedded` does not exist then returns obj untouched.

Usage

peel_off_embedded(obj)

Arguments

obj

A JSON-list.

Value

A JSON-list.


ramiromagno/gwasrapidd documentation built on Jan. 3, 2024, 10:21 p.m.