angular-json-human icon indicating copy to clipboard operation
angular-json-human copied to clipboard

Viewer does not like properties that start with "@"

Open oravecz opened this issue 8 years ago • 1 comments

I have this json content, and it causes a very strange output from demo viewer.

{
        "@context": "http://purl.imsglobal.org/ctx/caliper/v1/Context",
        "@type": "http://purl.imsglobal.org/caliper/v1/AssessmentEvent",
        "action": "http://purl.imsglobal.org/vocab/caliper/v1/action#Started"
}

Ironically, this issue is not present in the current json.human.js project

oravecz avatar Apr 04 '16 14:04 oravecz

Thanks for reporting @oravecz. I think someone else brought up the same issue before but I couldn't figure it out. I would welcome a PR if you know how to fix it! =D Also, this project is inspired by json.human.js but it's not a direct port or anything so the bugs in this project are irrelevant to the bugs in json.human.js.

yaru22 avatar Apr 07 '16 03:04 yaru22