Can I read a section of yaml without spring ?
I have a yaml file with say 3 properties sections A,B,C .
I wanted to know if I can load a section only like B in in variable map of properties() .
Parse will do for whole yaml, and not sure on spring . Manual map feels troublesome
5 Replies
⌛
This post has been reserved for your question.
Hey @CJ__47! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./close
or theClose Post
button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically marked as dormant after 300 minutes of inactivity.
Just use a library like snakeyaml?
Yeh ,either that but wanted to reduce third party dependency or create new yaml for parse .
But, just wanted to check , more methods in java or spring
What do you mean with creating a new yaml for parse?
If you want to parse YAML files, you should really consider using a dependency
and this doesn't need to be Spring
💤
Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping
.
Warning: abusing this will result in moderative actions taken against you.