This repository has been archived by the owner on Nov 28, 2017. It is now read-only.
Releases: json4s/muster
Releases · json4s/muster
More Json ASTs
Bring Your Own AST
This release integrates the Json4s AST into muster, there are more to come.
It also refactors the packages to have a much more sane structure that is hopefully more intuitive to understand.
First release of muster
muster
A library for macro based serializers to many different formats.
It uses scala macros so no reflection is involved and it will generate code at compile time
that kind of looks like it would have been handwritten. It is written with the idea of extension, so it's easy to
add your own formats.
This release:
Currently muster supports JSON through parsing with jackson and it can extract the following things:
- Primitive values like String, Int, Date
- All scala collections
- Scala maps with string keys
- Java collections like java.util.List and java.util.Set
- Java maps (that implement java.util.Map)
- Java classes with bean getter/setters
- Scala classes with public vars
- Scala classes with java style getter/setter methods
- Scala case classes
- Classes initialized through a constructor only
- Classes with type parameters
- Support for maps with different keys than String
- Allows choosing between different option treatments for formats that support omission instead of null