outputMode property
The output mode for JSON-LD encoding.
- JsonLdOutputMode.expanded: Produces expanded JSON-LD (no
@context, full IRIs, all values in arrays). - JsonLdOutputMode.compact: Produces compact JSON-LD with a
@contextand abbreviated IRIs (the default). - JsonLdOutputMode.flattened: Produces flattened JSON-LD with all nodes at the top level.
Implementation
final JsonLdOutputMode outputMode;