PMJSON icon indicating copy to clipboard operation
PMJSON copied to clipboard

Add methods for working with Swift.Result

Open lilyball opened this issue 5 years ago • 1 comments

We should consider adding variants of all the throwing methods that return a Swift.Result instead.

lilyball avatar Apr 27 '19 20:04 lilyball

Upon consideration, this is a lot of methods. Maybe instead we should consider converting all throwing methods to returning Result and relying on the user to call .get() if they want to throw the error.

I'm going to push this off for later consideration since that's a major change. I'd love some feedback on the idea though.

lilyball avatar Nov 15 '19 01:11 lilyball