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

difference bw std.json.JSONValue and vibe.data.json.Json ? any conversion function? #1465

Closed
timotheecour opened this issue Apr 4, 2016 · 2 comments · Fixed by #1904
Closed

Comments

@timotheecour
Copy link

No description provided.

@s-ludwig
Copy link
Member

Yes, should probably be added, as well as stdx.data.json.value.JSONValue. The difference is mostly their API (which became more similar after recent improvements to std.json), storage-wise they are very similar.

@lionello
Copy link
Contributor

Just to add a +1: this is the biggest hurdle when moving from NodeJS to D. Vibe.D is awesome, but non-Vibe.D projects use std.json and you're left confused between what to use when.

A conversion function is nice, but won't solve the problem of having to mess with two different APIs, with different semantics and behaviors. The only way forward is to move to one JSON type in D and get it accepted in Phobos.

WebFreak001 added a commit to WebFreak001/vibe.d that referenced this issue Aug 28, 2017
WebFreak001 added a commit to WebFreak001/vibe.d that referenced this issue Nov 6, 2017
wilzbach pushed a commit to WebFreak001/vibe.d that referenced this issue Feb 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants