linked-data-dotnet/json-ld.net

Incorrect compaction

Closed this issue · 1 comments

Hi

I've found a problem with how set of URIs are compacted. Here's how playgroud does it

In code I'm getting incorrect compated JSON. Well, it's correct but not correctly compacted still

{
  "languages": [
    {
      "@id": "langIso:tr"
    },
    {
      "@id": "langIso:en"
    }
  ]
}

It would seem that the library doesn't respect the "@type": "@id" in property definition in the @context

Sorry, my mistakte I tak it back. 😊