HomePhabricator

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

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:28 PM
Parents
R1907:58f500e378c0: Minor code structure clean ups in JsonLdRdfWriter
Branches
Unknown
Tags
Unknown
ChangeId
I45294572607926b68c60c9c2c0f306b8c8d14bc3