Run unit tests
$ sbt test
diff --git a/docs/examples.html b/docs/examples.html
index 2a968411..682b02d4 100644
--- a/docs/examples.html
+++ b/docs/examples.html
@@ -1,5 +1,5 @@
-Examples
- Supported types
+Examples
+ Supported types
Scala-yaml has built-in support for:
-
- Primitives
+
+ Primitives
-
- Option
+
+ Option
When deserializing, YAML differentiates between empty string and null value. Hence in the following yaml
-
- List
+
+ List
-
- Map
+
+ Map
-
- Decoding from unknown type
+
+ Decoding from unknown type
It is also possible to decode yaml of unknown type. Since yaml consists of: scalars, mappings and sequences one can use:
-In this article
\ No newline at end of file
+In this article
Scala Yaml
+Scala Yaml
Scala Yaml is written in Scala, dependency-free library that allows to work with the YAML.
The goal of this project is to create idiomatic library which:
@@ -11,12 +11,12 @@Scala Yaml
Please see the guide for more information
Help us create our roadmap!
+Help us create our roadmap!
Take part in our discussions, post your ideas, vote for feature requests and have a real impact on how our next milestone will look like!
Usage
+Usage
-Using scala-yaml is very easy, all you have to do is import org.virtuslab.yaml.*
and write derives YamlCodec
after your case class definition. Then you're able to use following extension methods:
Using scala-yaml is very easy, all you have to do is import org.virtuslab.yaml.*
and write derives YamlCodec
after your case class definition. Then you're able to use following extension methods:
as[T]
yieldsEither[YamlError, T]
trying to convert String instance to the provided typeT
asYaml
converts your datatype into yaml-formatted String
diff --git a/index.html b/index.html
index c101ad79..16a5eb36 100644
--- a/index.html
+++ b/index.html
@@ -1,4 +1,4 @@
-