Skip to content

Simplify json array dump#1040

Merged
barryvdh merged 2 commits intomasterfrom
simplify-json-array
Apr 4, 2026
Merged

Simplify json array dump#1040
barryvdh merged 2 commits intomasterfrom
simplify-json-array

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