-
Notifications
You must be signed in to change notification settings - Fork 338
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
fix: add generic */*+json parser #344
Conversation
5935317
to
525ba8c
Compare
525ba8c
to
e83d99b
Compare
…ism into feat/contenty-type-parser
8a51a94
to
c240cda
Compare
3dd5521
to
490c057
Compare
917cb3a
to
f3b57a2
Compare
304151c
to
bad8d3c
Compare
bad8d3c
to
71b704b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks really good @XVincentX. I would like to see more edge cases tested though.
application/json
application/vnd.json
application/vnd.xml;x=json
...___headers____content-type___application_vnd.api+json____body____\_hello\__\_world\____.json
Show resolved
Hide resolved
4f424de
to
78ecc9b
Compare
...path____no_auth_pets_10___method___GET___headers____accept___application_idonotexist___.json
Outdated
Show resolved
Hide resolved
...eaders____Content-Type___application_x-www-form-urlencoded____body___name=just_a_name__.json
Outdated
Show resolved
Hide resolved
9177b9b
to
1084a2c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two trivial changes that you can just do or not do, maybe just let it let leak into your next PR. :D
This is great work man, huge improvement.
type-is.is
to detect a flavour of JSON and parse/serialise itCloses #341