Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Simplify json array dump#1040

Merged
barryvdh merged 2 commits into
masterphp-debugbar/php-debugbar:masterfrom
simplify-json-arrayphp-debugbar/php-debugbar:simplify-json-arrayCopy head branch name to clipboard
Apr 4, 2026
Merged

Simplify json array dump#1040
barryvdh merged 2 commits into
masterphp-debugbar/php-debugbar:masterfrom
simplify-json-arrayphp-debugbar/php-debugbar:simplify-json-arrayCopy head branch name to clipboard

Conversation

@barryvdh
Copy link
Copy Markdown
Collaborator

@barryvdh barryvdh commented Apr 4, 2026

For plain arrays with simple types, just return the array as-is and let the javascript figure it out.
This further speeds up the dumping + gives easier/smaller data structure.
As this is probably the most used format, probably a big decrease in size.

@barryvdh barryvdh merged commit 4b920b8 into master Apr 4, 2026
22 checks passed
@parallels999
Copy link
Copy Markdown
Contributor

parallels999 commented Apr 6, 2026

Now all JSON data will only be displayed as text?

image image

@barryvdh
Copy link
Copy Markdown
Collaborator Author

barryvdh commented Apr 6, 2026

Did you refresh you assets?

@barryvdh
Copy link
Copy Markdown
Collaborator Author

barryvdh commented Apr 6, 2026

Now all JSON data will only be displayed as text?

image image

Which version are you on, dev-master or 3.7.0? No javascript errors?

@barryvdh
Copy link
Copy Markdown
Collaborator Author

barryvdh commented Apr 6, 2026

And you are using the json dumper? or the html dumper?

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.