This issue stems from: digitalbazaar/jsonld.js#506
It relates to step 1.3 in the Framing Algorithm where a frame's validity is being checked.
It seems that either that step doesn't appropriately allow for @json (which is a valid JSON-LD type) or that the algorithm should have stopped recursing when @json was detected and just accepted whatever the value was (since it cannot recurse into @json datatypes, presumably). I didn't look more closely to determine which way to go here with the algorithm (whether it's the former simple fix or not), but I expect that some test cases could help shake it out.
This issue stems from: digitalbazaar/jsonld.js#506
It relates to step 1.3 in the Framing Algorithm where a frame's validity is being checked.
It seems that either that step doesn't appropriately allow for
@json(which is a valid JSON-LD type) or that the algorithm should have stopped recursing when@jsonwas detected and just accepted whatever the value was (since it cannot recurse into@jsondatatypes, presumably). I didn't look more closely to determine which way to go here with the algorithm (whether it's the former simple fix or not), but I expect that some test cases could help shake it out.