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

Comments

Projects
None yet
3 participants
@timotheecour

timotheecour commented Apr 4, 2016

No description provided.

@s-ludwig

This comment has been minimized.

Member

s-ludwig commented Apr 22, 2016

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

This comment has been minimized.

Contributor

lionello commented Jun 27, 2017

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 added 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