Skip to content

JSON-LD 1.1 Feature Request: Object-level @language #368

Closed
@jasnell

Description

@jasnell

See: digitalbazaar/jsonld.js#72

It would be helpful to have the ability to use @language within an object as a shorthand for "@context": {"@language": "..."} ... for instance... make:

{
  "@language": "en",
  "displayName": "foo"
}

equivalent to:

{
  "@context": {"@language": "en"}, 
  "displayName": "foo"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions