Releases: nexxbiz/JLio
format function can handle string representations of dates
v0.3.17 added support for string representations (#69)
Bugfix for partial
issues for #67
Bugfix for multilayer array copy/ move
fixes the multilayer items selection on copy move
$.array[].array[].sub
Improvement on Filter by schema
The JToken.SelectToken(string path) expects a unique path, but all array items have the same path, for example "policy[*].processId"
The JToken.SelectToken will throw an exception in case more than one token is found for a path.
Therefore, the JToken.SelectTokens(string path) should be used. This returns an IEnumerable?. If there are any tokens, all tokens for this path are removed. To stay in the example I gave above, when pathToRemove equals "policy[*].processId", the "processId" property for all policies will be removed now and no exception is thrown.
Register extention functions and commands
With this update, it's now possible to register extra extensions or packages seamlessly while still using default parse options. The change was achieved by creating a ParseOptions instance using the CreateDefault() method and then registering a new function like FilterBySchema using the RegisterFunction() method.
This improvement increases the overall usability and extensibility of the Jlio implementation, enabling developers to easily build upon existing functionality without losing the benefits of default options.
bugfix on copy move on inner arrays
fixes the copy move function preventing the items in the array to get all the same last value
Bugfix
v0.3.9 exclude non exisiting paths. (#54)
bugfix partial function
non existing paths are now allowed
Bugfix for case-sensitive selection on move and copy.
[
{
"fromPath": "$.Input.someArray[].SomeProperty",
"toPath": "$.Input.someArray[].someProperty",
"command": "move"
}
]
This resulted in an empty array.
Added format and FilterBySchema function and some bugfixes
What's Changed
- function parsing optimized by @FransVanEk in #39
- function bugfixes by @FransVanEk in #38
- added support for copy/move to an root path for object source types by @FransVanEk in #37
- Implemented filter by schema by @cristinamudura in #31
- Feature/format function by @FransVanEk in #42
- Bug fix for issue #41 by @FransVanEk in #43
Full Changelog: v0.3.5...v0.3.7