Popularity
1.7
Stable
Activity
0.0
Stable
23
2
6
Programming language: Scala
Tags:
JSON
sonofjson alternatives and similar packages
Based on the "JSON" category.
Alternatively, view sonofjson alternatives based on common mentions on social networks and blogs.
-
spray-json
A lightweight, clean and simple JSON implementation in Scala -
jsoniter-scala
Scala macros for compile-time generation of safe and ultra-fast JSON codecs -
jackson-module-scala
Add-on module for Jackson (https://github.com/FasterXML/jackson) to support Scala-specific datatypes -
scala-jsonapi
Scala support library for integrating the JSON API spec with Spray, Play! or Circe -
scala-json
Compile-time JSON marshaling and abstraction for Scala, Scala Native and Scala.js -
sbt-json
sbt plugin that generates Scala case classes for easy, statically typed and implicit access of JSON data e.g. from API responses -
qbproject
Scala Libs around JSON and API developement for Play Framework. -
None Is Not Null
JSON typeclasses that know the difference between null and absent fields -
play-json
Flexible and powerful JSON manipulation, validation and serialization, with no reflection at runtime. -
rapture-json
Clean, intuitive, unintrusive, boilerplate-free Scala API
Static code analysis for 29 languages.
Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
Promo
www.sonarqube.org
Do you think we are missing an alternative of sonofjson or a related project?
README
SON of JSON
A Scala library for dealing with JSON in a way that makes it almost feel native. If you want to understand how it compares to json4s, you might be interested to read about it here.
① It requires just one import
import nl.typeset.sonofjson._
② Creating an object is easy
// You can parse it from a String
val person = parse("""{ "name" : { "first" : "John", "last" : "Doe" } }""")
// Or build it yourself
val person = obj(
name = obj(
first = "John",
last = "Doe"
)
)
③ Accessing it is easy too
// Access the object and ask for a String representation
person.name.first.as[String]
// Or leave it to SON of JSON to get you a String representation
var first: String = person.name.first
④ Modifying it is even easier
person.name.first = "Jack"
⑤ And rendering it to JSON is just
render(person)