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

Convert (to/from)JSONValue to opCast/constructor. #2085

Merged
merged 1 commit into from Feb 26, 2018

Conversation

Projects
None yet
2 participants
@s-ludwig
Copy link
Member

s-ludwig commented Feb 24, 2018

This allows other similar conversions to be implemented later, in particular for stdx.data.json. It also enables json.to!JSONValue and jsonvalue.to!JSON conversions.

See #1904.

@s-ludwig

This comment has been minimized.

Copy link
Member Author

s-ludwig commented Feb 24, 2018

@WebFreak001

This comment has been minimized.

Copy link
Contributor

WebFreak001 commented Feb 24, 2018

👍 too bad there are no implicit cast operators in D

Convert (to/from)JSONValue to opCast/constructor. See #1904.
This allows other similar conversions to be implemented later, in particular for `stdx.data.json`. It also enables `json.to!JSONValue` and `jsonvalue.to!JSON` conversions.

@s-ludwig s-ludwig force-pushed the jsonvalue_as_cast branch from cb84698 to 9013429 Feb 26, 2018

@s-ludwig s-ludwig merged commit 5245519 into master Feb 26, 2018

1 check was pending

continuous-integration/travis-ci/push The Travis CI build is in progress
Details

@s-ludwig s-ludwig deleted the jsonvalue_as_cast branch Feb 26, 2018

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