[Issue 15884] Assigning char[] to std.json.JSONValue creates array, not string

2020-03-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15884 Basile-z changed: What|Removed |Added CC|b2.t...@gmx.com | --

[Issue 15884] Assigning char[] to std.json.JSONValue creates array, not string

2016-04-17 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15884 github-bugzi...@puremagic.com changed: What|Removed |Added Status|REOPENED|RESOLVED

[Issue 15884] Assigning char[] to std.json.JSONValue creates array, not string

2016-04-17 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15884 --- Comment #6 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/1f1ed031a3215b3fa6585ccca189d68c1ad5b154 Fix issue 15884 Encode wstring/wchar[]/dstring/dchar[]

[Issue 15884] Assigning char[] to std.json.JSONValue creates array, not string

2016-04-11 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15884 Lionello Lunesu changed: What|Removed |Added Keywords||pull --- Comment

[Issue 15884] Assigning char[] to std.json.JSONValue creates array, not string

2016-04-11 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15884 Lionello Lunesu changed: What|Removed |Added Status|RESOLVED|REOPENED

[Issue 15884] Assigning char[] to std.json.JSONValue creates array, not string

2016-04-11 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15884 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 15884] Assigning char[] to std.json.JSONValue creates array, not string

2016-04-11 Thread via Digitalmars-d-bugs
- Assigning char[] to std.json.JSONValue creates array, not string https://github.com/D-Programming-Language/phobos/commit/ada161f0c571733aeb280566d6aff0af1e9396ad Merge pull request #4176 from BBasile/issue-15884 fix issue 15884 - Assigning char[] to std.json.JSONValue creates array, not string --

[Issue 15884] Assigning char[] to std.json.JSONValue creates array, not string

2016-04-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15884 b2.t...@gmx.com changed: What|Removed |Added CC||b2.t...@gmx.com --- Comment #2 from

[Issue 15884] Assigning char[] to std.json.JSONValue creates array, not string

2016-04-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15884 --- Comment #1 from Lionello Lunesu --- Ugh, I understand why it's the way it is. Should we do .idup in JSONValue? Either way there's going to be an allocation, either for the JSONValue[] or for the string. The repro might