-
Notifications
You must be signed in to change notification settings - Fork 232
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
issue-299: split argument value when argument type is array
Jackson is able to convert an array of String values to an array of other Java types. However, it does not parse a raw String and split it if it is intended to be mapped to an array. This commit prepares the data for Jackson by splitting the value of `RandomizerArgument` when its type is an array. NB: The goal is to cover simple use cases of comma separated values like reported in #299. There is no plan to make this feature support custom separator, date format, number format, etc.
- Loading branch information
1 parent
e790939
commit cda1de5
Showing
2 changed files
with
65 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters