spray-json icon indicating copy to clipboard operation
spray-json copied to clipboard

Validation/Either support for failures

Open acruise opened this issue 11 years ago • 1 comments

Correct me if I'm wrong, but it looks like the asJson and convertTo methods always throw exceptions when something fails. It would be nice if there were alternative entry points that would return Either/Validation/equivalent, preferably giving some useful error data structure, not just strings. :)

acruise avatar Apr 30 '14 17:04 acruise

bump? :)

acruise avatar Jul 14 '14 23:07 acruise