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

Dumper: do not quote dumped keys #340

Closed
wants to merge 2 commits into from
Closed

Conversation

milo
Copy link
Member

@milo milo commented Feb 15, 2019

Is there any reason for quoting dumped array keys/object property names? For example:

array (2)
    Accept => "application/json" (16)
    "User-Agent" => "milo/http-client-v5.2" (21)

Empty string is preserver quoted.

@dg
Copy link
Member

dg commented Feb 15, 2019

It should preserve quotes in keys like "hello " too.

@milo
Copy link
Member Author

milo commented Feb 15, 2019

Something like this?

@dg dg closed this in ec1ba86 Feb 15, 2019
@dg
Copy link
Member

dg commented Feb 15, 2019

I made it a little easier.

dg pushed a commit that referenced this pull request Feb 15, 2019
dg pushed a commit that referenced this pull request Feb 15, 2019
@milo
Copy link
Member Author

milo commented Feb 15, 2019

Great. Thank you!

dg pushed a commit that referenced this pull request Feb 15, 2019
dg pushed a commit that referenced this pull request Feb 16, 2019
dg pushed a commit that referenced this pull request Feb 17, 2019
dg pushed a commit that referenced this pull request Feb 17, 2019
dg pushed a commit that referenced this pull request Feb 17, 2019
dg pushed a commit that referenced this pull request Feb 17, 2019
dg pushed a commit that referenced this pull request Feb 17, 2019
dg pushed a commit that referenced this pull request Feb 17, 2019
dg pushed a commit that referenced this pull request Feb 17, 2019
dg pushed a commit that referenced this pull request Feb 20, 2019
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

Successfully merging this pull request may close these issues.

2 participants