Comments (1)
please check FAQ here: http://code.google.com/p/snakeyaml/wiki/Documentation
By default, SnakeYAML chooses the style of a collection depending on whether it
has
nested collections. If a collection has nested collections, it will be assigned
the
block style. Otherwise it will have the flow style.
More info for the style is here:
http://yaml.org/spec/1.1/#flow%20style/information%20model
You can define the style (block or flow) in the DumperOptions.
Original comment by [email protected]
on 4 Dec 2009 at 8:18
- Changed state: Invalid
- Added labels: ****
- Removed labels: ****
from snakeyaml.
Related Issues (20)
- Stream-like processing of YAML documents HOT 5
- Adding Construct's without extending Constructor HOT 7
- Providing Construct/Representer logic within the Class HOT 12
- SnakeYAML installation/import errors HOT 2
- Introduce multi contructors (tag prefix) HOT 1
- Autogenerated anchors fail sanity test HOT 1
- support partial representation when document contains unrecognized tags HOT 15
- IllegalArgumentException thrown when attempting to set BigDecimal property HOT 4
- List or Map of Maps doesn't work in 1.5 HOT 2
- BaseConstructor shall give more flexibility to choose the constructor at runtime HOT 1
- introduce Tag class HOT 1
- Documentation for Custom document doesn't compile HOT 5
- Typed setters for the entities HOT 3
- Dump a java.io.File object HOT 2
- Representer.java:208 should make sure property.getWriteMethod() != null as well as getReadMethod HOT 12
- Enchancement Request: break value representation into separate method HOT 8
- GregorianCalendar should be output as regular Timestamp HOT 17
- Unable to dump JavaBean that inherits from a protected base class HOT 15
- Some Unicode characters are wrongly replaced by \x{fffd} during double quoted style dump HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from snakeyaml.