diffplug / diffplug/spotless

Support configuring jackson JsonParser. Feature ALLOW_COMMENTS

Open
#2,271 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
5.6k
Forks
559
Avg merge
1d 13h
Merged PRs (30d)
34

Description

I have some json files containing comments.
It is currently impossible to format them using spotless and jackson.

Formatting is failing mentioning that
[JsonParser.Feature.ALLOW_COMMENTS](https://fasterxml.github.io/jackson-core/javadoc/2.8/com/fasterxml/jackson/core/JsonParser.Feature.html) should be enabled.

There is currently no way to configure this in spotless

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.