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

:?= should return None if right-hand argument JSON is empty #97

Open
seigert-xx opened this issue Apr 21, 2014 · 0 comments
Open

:?= should return None if right-hand argument JSON is empty #97

seigert-xx opened this issue Apr 21, 2014 · 0 comments

Comments

@seigert-xx
Copy link

Moved from #93 comments:

Change :?= operator to accept Json entities as right-hand arguments and return None if given right-hand argument is empty JSON.
Example:

("none" :?= jEmptyObject) == None
("some" :?= jSingleObject("test", "value")) == Some(Json("some" := jSingleObject("test", "value")))

See also: #93 (comment)

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