JSON highlighting should work with application/ld+json content-type

If the content-type of the response is application/ld+json, it can't highlight the data in Pretty mode.

Here is the response headers:

server    nginx/1.23.4content-type    application/ld+json; charset=utf-8transfer-encoding    chunkedconnection    keep-alivevary    Acceptx-content-type-options    nosniffx-frame-options    denycache-control    no-cache, privatedate    Thu, 29 Aug 2024 06:16:14 GMTlink    <http://localhost:8887/api/docs.jsonld>; rel="http://www.w3.org/ns/hydra/core#apiDocumentation"etag    "b0c5fe840962460dae8db776ca286a62"x-debug-token    8f860bx-debug-token-link    http://localhost:8887/_profiler/8f860bx-robots-tag    noindex

References:

https://json-ld.org/

http://www.w3.org/ns/hydra/core#apiDocumentation

Please authenticate to join the conversation.

Upvoters
Status

Released

Board

Feedback

Date

4 months ago

Author

@vuong

Subscribe to post

Get notified by email when there are changes.