drop context element from json list or json string

drop_context(x, json_output = FALSE)

Arguments

x

a JSON list (from read_json / fromJSON) or json object (from toJSON)

json_output

logical, should output be a json object or a list?

Value

a list or json object with the "@context" element removed