Skip to content

Commit

Permalink
Minor rewording of #1017
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed May 12, 2023
1 parent 4265167 commit cd8494a
Showing 1 changed file with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,15 @@
* Usually this class is not instantiated directly, but instead
* method {@link JsonGenerator#useDefaultPrettyPrinter} is
* used, which will use an instance of this class for operation.
*
* This class is designed for the JSON data format. If you are using
* a different data format, you should use a {@link PrettyPrinter}
* implementation designed to support that format.
*
*<p>
* If you override this class, take note of {@link Instantiatable},
* as subclasses will still create an instance of DefaultPrettyPrinter.
*<p>
* This class is designed for the JSON data format. It works on other formats
* with same logical model (such as binary {@code CBOR} and {@code Smile} formats),
* but may not work as-is for other data formats, most notably {@code XML}.
* It may be necessary to use format-specific {@link PrettyPrinter}
* implementation specific to that format.
*/
@SuppressWarnings("serial")
public class DefaultPrettyPrinter
Expand Down

0 comments on commit cd8494a

Please sign in to comment.