Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 998 Bytes

README.md

File metadata and controls

31 lines (21 loc) · 998 Bytes

json Build Status Download

A really simple json parser library implemented in scala with no dependencies

Requirements

Usage

Add the following lines to your build.sbt

resolvers += "Tim Tennant's repo" at "http://dl.bintray.com/timt/repo/"

libraryDependencies += "io.shaka" %% "naive-json" % "36"

Start hacking

import io.shaka.json.Json
...
val json = Json("""{"thing1":{"thing2":"meet thing1"}}""")
val contentAtThing2 = json.thing1.thing2

For more examples see JsonSpec.scala

Code license

Apache License 2.0