Giter Club home page Giter Club logo

yaml4s's Introduction

Yaml4s icon
Yaml4s (Cross platform YAML for Scala, Scala.js and scala native)

yaml4s-core Scala version support javadoc GitHub Workflow Status GitHub
Scala Steward badge

What is this library?

This library is a cross platform yaml parsing and printing library that supports full yaml spec (1.2 on jvm and js, 1.1 on native), that focuses on simplicity, extensibility while remaining ecosystem agnostic.
Aside from its own data model (named YAML), this library also supports and provides several integrations with popular json libraries, in which you can parse to and print from directly, without any intermediate object generation.
Current integrations include: circe, zio json, play json, json4s, spray json, also integrations can be added very easily, open an issue or submit a PR if you want any other integrations with other major libraries.

What this library is not?

If you want a full blown yaml manipulation library with direct yaml AST support, this library is not the solution to your problem; however if you want using YAML as a serialization format this library is the perfect choice, as it adds support for latest YAML spec to your favorite JSON library and you don't need to learn something new or deal with complex YAML syntax!

Why this library?

Angel tells a man: It says you should be in hell, but since you were a YAML engineer, we will consider that as time served.

YAML can easily be the worst serialization format you may encounter in your career, but it's life and we need to do shit sometimes!
This library is a pragmatic solution that tries to empower the scala ecosystem and all of its tribes by adding the YAML support to other existing libraries.
If all you want is reading and writing YAML, with complete spec support, without trying to implement it from scratch in Scala, this library is the perfect fit.

Besides that, it's here to warm your heart in those dark times you need to work with YAML!

Getting started

visit Project site to see tutorials and docs.

yaml4s's People

Contributors

github-actions[bot] avatar hnaderi avatar mergify[bot] avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.