Support configuring jackson JsonParser. Feature ALLOW_COMMENTS
- Vorherrschende Sprache
- Java
- Sterne
- 5.6k
- Forks
- 559
- Ø Merge
- 1 T. 14 Std.
- Gemergte PRs (30 T.)
- 43
Beschreibung
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
Beitragsleitfaden
Rechercherichtung
Beginne damit nachzuverfolgen, wie Spotless seinen Jackson-Formatter konfiguriert und wo Optionen für JsonParser.Feature angewendet werden. Reproduziere den Fehler mit einer JSON-Datei, die Kommentare enthält, und überprüfe anschließend, dass die Aktivierung von ALLOW_COMMENTS die Formatierung erfolgreich abschließen lässt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- java
- Bereich
- tooling
- Issue-Typ
- Feature
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100