Skip to content

Latest commit

 

History

History
57 lines (46 loc) · 1.72 KB

README.md

File metadata and controls

57 lines (46 loc) · 1.72 KB

Build Status Build Status Codacy grade Codecov GitHub issues License

SON2

Stream Object Notation to:

  • JSON
  • YAML
  • XML
  • Properties

It is a simple application with:

  • ScalaTest for test
  • ScalaMock for mock
  • ScalaCheck for property-based testing
  • Jackson to convert json
  • JsonPath to filtering json
  • json-patch to patch json

Build

cd ~
git clone https://github.com/writeonly/son2.git
cd son2
git submodule update --init --recursive
sbt clean scalafmt::test test:scalafmt::test it:scalafmt::test jacoco it:jacoco coverage test it:test assembly coverageReport && sbt coverageAggregate && sbt stats scalastyle
sbt clean compile assembly

CLI

Add line to file ~/.bashrc

alias son2="java -jar ~/son2/son2-clis/son2-main/target/scala-2.12/son2-main-assembly-2.8.11-SNAPSHOT.jar"
alias son2o="son2 o"
alias son2y="son2 y"
alias son2x="son2 x"
alias son2p="son2 p"

Usage

usage