Releases: octomix/josson
Releases · octomix/josson
Version 1.5.0 GA Release
New Features
Custom Function
You can define your own custom functions to manipulate a node in a Josson query.
Customer function name must starts with $
and ends with ()
.
There are 2 types of custom function:
- Accept the current node as parameter and return a manipulated node of type JsonNode.
- Accept the current node and array index as parameters and return a manipulated node of type JsonNode.
4 Merge Array Methods
Append
- appends 2nd array elements to the end of the 1st array.Integrate
- appends 2nd array elements to the end of the 1st array if the element does not exist.ReplaceWhole
- replaces the whole array by the 2nd array.ReplaceByIndex
- replaces elements by array index position.
Enhancement
New Josson constructors fromTree()
- Call Jackson ObjectMapper.readTree()
.
Jackson upgraded to version 2.17.2
mXparser upgraded to version 6.0.0
Version 1.4.5 GA Release
- Do not flatten last path step's nested array.
- Accept standalone merge branch symbol @ as a path step.
- Update version of dependencies and plugins.
jackson-datatype-jsr310:2.15.2
jackson-core:2.15.2
MathParser.org-mXparser:5.2.1
junit-jupiter-api:5.9.3
Version 1.4.4 GA Release
Stable version.
Any comments or suggestions are welcome.
Enjoy programming!
Version 1.3.20 GA Release
Many features added for the last two weeks!
- Many Join and Set operations.
- Join and Set pipe chaining.
- Support HTML escaping.
- Some Josson functions.