During the Paris sprint, the Web Services initiative honed in on JSON-LD for the primary supported web service data format. This issue provides a roadmap to achieve support.

Note: This is in the core queue for now. However, the decision whether it should live in core is a separate discussion and there are a lot of factors to consider... this may end up living in contrib.

This issue is highly related to Step 5 in #1540656: [META] Entity Serialization API for web services (e.g. content staging).

Roadmap

Dependencies

Entity API
Routing
JSON-LD spec

Step 1: Responding with JSON to JSON-LD requests

To start with, we need to be able to respond to requests for application/ld+json and provide a JSON object back which contains all of the properties.

Step 2: Providing a context

For the returned JSON object to be used by JSON-LD tools, it needs to have a context.

Step 3: Helping consumers use the data

Once we are returning objects that are consumable as JSON-LD, we can use other REST and Linked Data conventions to help consumers use data.

Comments

Anonymous’s picture

Issue summary: View changes

Rearranged the headings and added intro.

Anonymous’s picture

Issue summary: View changes

Added #1794958: Generate the @context for JSON-LD

Anonymous’s picture

Issue summary: View changes

Changing title of step 1 and added descriptions to be clearer.

Anonymous’s picture

Issue summary: View changes

Added #1797210: Decide how to handle literal values in JSON-LD

Anonymous’s picture

Issue summary: View changes

Added #1797214: Decide whether slight lossiness of JSON-LD <-> RDF transformation is acceptable

Anonymous’s picture

Issue summary: View changes

Crossed off two completed issues.

Anonymous’s picture

Issue summary: View changes

Crossed off the routing issue.

Anonymous’s picture

Issue summary: View changes

Added #1732730: Implement the new entity field API for all field types, and moved external issues to dependencies.

Anonymous’s picture

Issue summary: View changes

Added #1803818: Make it possible to dynamically provide additional routes for entities and #1803586: Give all entities their own URI.

Anonymous’s picture

Issue summary: View changes

Added #1810472: Add Symfony's Serializer component to core.

Anonymous’s picture

Issue summary: View changes

Added #1811510: Enable JSON-LD entity serialization.

Anonymous’s picture

Issue summary: View changes

Rearrage issue.

Anonymous’s picture

Issue summary: View changes

Added #1813328: Enable standard literal handling for RDF-ish domain models

Anonymous’s picture

Issue summary: View changes

Added #1814864: Provide way to register serialization classes.

Anonymous’s picture

Issue summary: View changes

Rearranged.

Anonymous’s picture

Issue summary: View changes

Removed #1803818.

Anonymous’s picture

Issue summary: View changes

Added #1830388: Decide whether/how JSON-LD works for non-entity paths

Anonymous’s picture

Issue summary: View changes

Added #1831286: Provide machine-readable description of entity/field/property.

Anonymous’s picture

Issue summary: View changes

Added #1832840: Add Normalizers for all levels of Typed Data API.

Anonymous’s picture

Issue summary: View changes

Crossed off language maps, added the two new alternate options.

Anonymous’s picture

Issue summary: View changes

Added #1838596: Add deserialize for JSON-LD

Anonymous’s picture

Issue tags: +WSCCI, +json-ld

tagging

Anonymous’s picture

Issue summary: View changes

Added #1838700: Decide on language handling for JSON-LD

Anonymous’s picture

Issue summary: View changes

Added 1880424: Handle entity references on import

Anonymous’s picture

People subscribed to this issue might be interested in #1924854: [META] Hypertext Application Language (HAL) support.

Anonymous’s picture

Status: Active » Closed (won't fix)

JSON-LD was removed from D8 core.

Anonymous’s picture

Issue summary: View changes

Move deserialize issue to consumer section.