Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I would like the possibility to escape separators if they exist in the 'value': #8

Open
Elisedlund opened this issue Apr 15, 2014 · 1 comment

Comments

@Elisedlund
Copy link

I would like the possibility to escape separators if they exist in the 'value':
Examples:

map = (Map<String, String>) parser.parseType("hello1=1\\,23,hello2=321", type);
List<String> list = parser.parse("a\\,b,c", new GenericType<List<String>>() {});
@drapostolos
Copy link
Owner

It's partly possible today by providing your own SplitterStrategy. But would be nicer if there was a escaping strategy out of the box. Does anyone have or know where to find a good algorithm for this? I'm sure there are plenty of libraries already doing this. However It feels like it could be a library of its own (promoting modularity).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants