2022 Developer Survey is open! Take survey.

New answers tagged

1 vote

Json Array to ND Json converter

Parameters It's more natural and flexible to just receive the input and output streams as parameters. The conversion doesn't really care if it's reading the JSON from a file or some other source (e.g. ...
user avatar
  • 2,975
2 votes
Accepted

Json Array to ND Json converter

always increase readability by using access modifiers. Convert is misleading, as you're reading and writing files, so describing the function is very useful to ...
user avatar
  • 4,503
2 votes

Json Array to ND Json converter

If sourcePath is null the method would throw an FileNotFoundException as well, because ...
user avatar
  • 49.9k
1 vote

Nested pojo java class - What could I make better

This is very borderline not reviewable. The data class alone without any context is difficult to review and the class and field names look placeholdery. Why "...
user avatar
  • 10.3k

Top 50 recent answers are included