HomePhabricator

Tweak JSON-LD support to generate more idiomatic JSON-LD
24e1ea4af459Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.
This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

Tweak JSON-LD support to generate more idiomatic JSON-LD

Lean on the @context more to generate shortnames for fields and
hoist @type declarations so that the actual node objects are as
concise as possible. These structures are semantically equivalent
to the previous markup, but should download quicker and be easier
for consumers to use.

Bug: T44063
Bug: T164655
Change-Id: I45294572607926b68c60c9c2c0f306b8c8d14bc3

Details

Provenance
cscottAuthored on Oct 13 2017, 3:33 PM
Parents
R1907:9900ae887377: Fix bug in JSON-LD output when alternating values are specified.
Branches
Unknown
Tags
Unknown
ChangeId
I45294572607926b68c60c9c2c0f306b8c8d14bc3