Skip to content

Releases: octomix/josson

Version 1.5.0 GA Release

28 Jul 13:48
Compare
Choose a tag to compare

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:

  1. Accept the current node as parameter and return a manipulated node of type JsonNode.
  2. 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

04 Jun 07:56
1992d11
Compare
Choose a tag to compare
  • 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

24 Apr 17:39
64edf54
Compare
Choose a tag to compare

Stable version.
Any comments or suggestions are welcome.
Enjoy programming!

Version 1.3.20 GA Release

24 Jul 04:08
Compare
Choose a tag to compare

Many features added for the last two weeks!

  • Many Join and Set operations.
  • Join and Set pipe chaining.
  • Support HTML escaping.
  • Some Josson functions.

Version 1.3.0 GA Release!

07 Feb 16:59
Compare
Choose a tag to compare

This is the first General Availability (GA) Release!