You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JSON-LD is nice, but has too much punctuation. YAML-LD is much easier to read and write by hand.
The YAML-LD CG (part of the JSON-LD CG) was started Jun 2022 json-ld/yaml-ld#3 and a CG spec has been available for about a year.
We already use it in two projects:
a research project where we parse building regulations and capture them in YAML-LD
a commercial project where we capture machine state transition rules in YAML-LD
One issue with HASMAC JSON-LD (Titanium JSON-LD) is that the code is very tightly coupled with the Jakarta JSON Processing library. There is no intermediary format, so all the processions steps for things like framing or compacting manipulate the Jakarta JSON Processing objects.
We could write an adapter between YAML and the Jakarta JSON Processing library.
Or do an conversion of the YAML text into json text using Jackson and then feed that into HASMAC JSON-LD.
Problem description
JSON-LD is nice, but has too much punctuation. YAML-LD is much easier to read and write by hand.
The YAML-LD CG (part of the JSON-LD CG) was started Jun 2022 json-ld/yaml-ld#3 and a CG spec has been available for about a year.
We already use it in two projects:
Preferred solution
Implement YAML-LD parsing and serialization.
Things are very similar to JSON-LD, so it seems logical to extend Titanium (the improved fork that @hmottestad made).
Are you interested in contributing a solution yourself?
None
Alternatives you've considered
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: