Skip to content

timt/naive-json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A really simple json parser library for scala

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published