Jay Taylor's notes
back to listing indexspray/spray-json
[web search]
Original source (github.com)
Clipped on: 2014-02-21
spray/spray-json
spray-json is a lightweight, clean and efficient JSON implementation in Scala.
It sports the following features:
- A simple immutable model of the JSON language elements
- An efficient JSON PEG parser (implemented with parboiled)
- Choice of either compact or pretty JSON-to-string printing
- Type-class based (de)serialization of custom objects (no reflection, no intrusion)
spray-json allows you to convert between
- String JSON documents
- JSON Abstract Syntax Trees (ASTs) with base type JsValue
- instances of arbitrary Scala types
as depicted in this diagram: