Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p><strong>What is YAML</strong><br> You should see <a href="http://en.wikipedia.org/wiki/Yaml" rel="nofollow noreferrer">the Wikipedia page for YAML</a> at least. The <a href="http://yaml.org/" rel="nofollow noreferrer">official YAML website</a> defines it as</p> <blockquote> <p>[...] a human friendly data serialization standard for all programming languages.</p> </blockquote> <hr> <p><strong>Use with Java</strong><br> It depends on what you want to use it for - the most common use (I'd imagine, since I haven't used it myself) would be for storing application configuration, as an alternative to XML or JSON. Essentially, you'll have a simple text file that contains data in a structured format as defined by the YAML spec. Here is <a href="http://www.devx.com/Java/Article/38509" rel="nofollow noreferrer">an article that discusses the use of YAML with Java</a>.</p> <p>To avoid reinventing the wheel, you should make use of a library that performs the serialization and deserialization for you i.e. it can read from and write to the text file and parse the data in it and hand it over to your application in an easier to use object form. The business logic, of course, must be written by you. There are several Java libraries that are available and this question on SO talks about which one to use and why: <a href="https://stackoverflow.com/questions/450399/which-java-yaml-library-should-i-use">https://stackoverflow.com/questions/450399/which-java-yaml-library-should-i-use</a>. </p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload