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
import std.stdio; import vibe.data.json; struct Foo { const(char)[] name; } void main() { Foo f = Foo("Hello world"); writeln(f.serializeToJsonString()); }
Result
{"name":["H","e","l","l","o"," ","w","o","r","l","d"]}
CC @christoph-wasicki-sociomantic
The text was updated successfully, but these errors were encountered:
Fix serialization of const/mutable and wide character strings. Fixes #…
a334da4
…2150.
Merci!
Successfully merging a pull request may close this issue.
Result
CC @christoph-wasicki-sociomantic
The text was updated successfully, but these errors were encountered: