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

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

Vuong ·2 years ago
Released

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


Comments (4)

Sign in to leave a comment.

Gregory Schier

Just fixed this in my local branch. Look out for a new beta release soon, that includes the fix 👍🏼

Fábio Ferreira

I also noticed that with content type application/hal+json does not highlight the response in pretty mode. Don't know if it make sense to create a new feedback or if it matches this one :)

Gregory Schier

Fábio Ferreira It's the same fix, so keep an eye out for the next release 👍�

Gregory Schier
Type to search feedback...