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

add LoaderOptions doc to README #396

Merged
merged 2 commits into from
Mar 7, 2023

Conversation

pjfanning
Copy link
Member

No description provided.

yaml/README.md Outdated
@@ -60,7 +60,16 @@ while (parser.nextToken() != null) {
Most configuration is applied during mapper instance configuration, through
`YAMLMapper.Builder`, similar to how JSON-based plain `ObjectMapper` is configured.

## Known problems
If you are parsing YAML, it is recommended that you consider configuring the
Copy link
Member

Choose a reason for hiding this comment

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

I think this must note version this applicable to (2.14+), otherwise we get questions on why settings are missing.

Also I am not 100% sure it is really recommended in the sense that the defaults should be fine for most users?
Maybe change wording to suggest it may be necessary when processing larger content or something.
I do not think it is something that really affects vast majority of users.

Copy link
Member Author

Choose a reason for hiding this comment

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

I refactored the doc to remove the word 'recommend' and also highlighted that this is about v2.14 and above

Copy link
Member

@cowtowncoder cowtowncoder left a comment

Choose a reason for hiding this comment

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

Perfect. Thank you again!

@cowtowncoder cowtowncoder merged commit 7b4b0cd into FasterXML:2.15 Mar 7, 2023
@pjfanning pjfanning deleted the yaml-loader-option-doc branch March 7, 2023 01:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants