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

Autodetect formatting style of JSON code - continued #4931

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

greg-at-moderne
Copy link
Contributor

What's changed?

Continuation of #4916 - i.e. adding more coverage for auto-detecting JSON style. By more coverage I mean more cases in the original code are handled now.

What's your motivation?

Another step towards full support of JSON autoformat.

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@greg-at-moderne greg-at-moderne marked this pull request as draft January 23, 2025 14:56
@greg-at-moderne greg-at-moderne marked this pull request as ready for review January 23, 2025 16:19
}

@Test
void simple() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we also add a test case which makes sure that array wrapping works correctly when the input is "wrong"?

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

Successfully merging this pull request may close these issues.

2 participants