Releases: tajakobsen/unxml
Releases · tajakobsen/unxml
Bugfixes and dependency updates
Changelog
- Added back generic type that was breaking the build
- Updated dependencies for Gradle, Jackson, Slf4j, Mockito
Refactoring, and simplifying
Changelog
- Changed class names from
ArrayParser
toArrayNodeParser
andObjectParser
toObjectNodeParser
. - Combined
InstanceParser
andListParser
to a newObjectParser
-class. - Created
ArrayParserBuilder
that createsArrayParsers
in the same way asObjectParserBuilder
, that will contain theas
-method.
Instantiate classes from Json
Changelog
- Parsers are now typed.
- Use
ObjectParser
orParser<ObjectNode>
instead ofParser
if you usedParsing.obj(...)
- Use
ArrayParser
orParser<ArrayNode>
instead ofParser
if you usedParsing.arr(...)
- Use
- You can have the parser instantiate an Object with Jackson directly.
InstanceParser<Article> article = Parsing.obj(...).as(Article.class);
ListParser<Article> article = Parsing.arr(...).as(Article.class);
Initial public release
First public release of the full-featured version of unXml.