Skip to content

SSSOM-Java 0.8.0

Compare
Choose a tag to compare
@gouttegd gouttegd released this 28 Jul 08:11
· 30 commits to main since this release
5ff94b9

Changes since version 0.7.9

  • Added JSON support
    • SSSOM-Core now provides a parser and writer for the JSON serialisation format.
    • As the JSON format is not fully specified yet, three “flavours” of JSON are supported:
      • pure JSON with full-length identifiers,
      • pure JSON with shortened identifiers, with a CURIE map stored in a top-level curie_map slot (not yet officially part of the spec, but should be added soon),
      • “JSON-LD-like” with shortened identifiers, with a CURIE map stored in a top-level @context object (for compatibility with SSSOM-Py; this is not real JSON-LD, it only contains the minimal context needed to make SSSOM-Py happy).
    • All ROBOT commands and the CLI tool can now accept indifferently SSSOM/TSV and JSON files (any flavour).
    • SSSOM-CLI can produce JSON files (any flavour) as output:
      • use --json-output to trigger output in pure JSON with full-length identifiers,
      • add --json-short-iris to trigger output in pure JSON with shortened identifiers,
      • add --json-write-ld-context to trigger output in SSSOM-Py compatibility mode.
  • Other changes:
    • Range constraints of double-typed slots (accepting values between 0.0 and 1.0) are now enforced.