chigix / rengular

RDF described Visual Novel-style Game Engine atop Web Components
https://rengular.js.org
MIT License
2 stars 1 forks source link

Employ JSON Literals instead of tricky json serialized string #22

Open chigix opened 4 years ago

chigix commented 4 years ago

It seems that JSON Literals specification drafted for JSON-LD v1.1 has been implemented in Json-ld javascript library:

https://github.com/digitalbazaar/jsonld.js/pull/325

The usage of json serialization as a string should be removed like the following case:

https://github.com/chigix/rengular/blob/54e879d53a4a65a17bf9f4870fc5099653fdf40c/src/app/shared/simple-quest-script.db.ts#L155