Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibility to parse ld+json #5

Closed
gassan opened this issue May 6, 2021 · 3 comments
Closed

Possibility to parse ld+json #5

gassan opened this issue May 6, 2021 · 3 comments

Comments

@gassan
Copy link
Contributor

gassan commented May 6, 2021

Api Platform sends request in json+ld content type. it would be nice to parse those requests too.
Screenshot 2021-05-06 at 19 43 41

@gassan gassan changed the title Possibility to parse json+ld Possibility to parse ld+json May 6, 2021
@mehdibo
Copy link
Contributor

mehdibo commented Jan 15, 2022

@khaperets is this a desired feature? I can submit a PR if it is

@gassan
Copy link
Contributor Author

gassan commented Jan 15, 2022

Why not to make expected request types configurable with ['json'] as default value?

@mehdibo
Copy link
Contributor

mehdibo commented Jan 15, 2022

In my opinion, that's an overkill, if it can handle both that would be perfect, json+ld is basically json so I don't see no harm in parsing it too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants