drop context element from json list or json string
drop_context(x, json_output = FALSE)
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? |
a list or json object with the "@context" element removed