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.


gwasrapidd documentation built on Dec. 28, 2022, 2:16 a.m.