Martin Nowak
436f284709
Merge pull request #1694 from John-Colvin/patch-5
...
Documetation fixes
Conflicts:
std/json.d
2013-12-16 05:20:02 +01:00
monarchdodra
833a713661
fix bool test
2013-11-26 08:24:19 +01:00
SHOO
007302fd1e
Fix and test for JSONValue(true), JSONValue(false)
2013-11-25 22:52:13 +09:00
k-hara
6b21137ebe
Update ddoc comment
2013-11-20 21:01:02 +09:00
k-hara
20b9d60c24
Make type field to read-only property, then make store and type_tag private
2013-11-20 21:01:00 +09:00
k-hara
5440ea8fbc
fix Issue 11527 - JSONValue cannot set values through named fields
2013-11-20 21:00:58 +09:00
John Colvin
8550c8809a
Documetation fixes
...
corrected the documentation for JSON_TYPE and added documentation for JSONValue.this
2013-11-16 12:22:50 +00:00
David
1958c95666
Improved std.json api, typesafe and easier to use
2013-10-23 23:50:00 +02:00
Dmitry Olshansky
9a053d97c2
new std.uni module
2013-07-20 23:00:34 +04:00
k-hara
03a32d6fa4
Fix issue 313 & 314
2013-06-25 08:38:30 +09:00
Jonathan M Davis
22c75c7904
Merge pull request #1313 from klickverbot/mingw-format
...
Adjust floating point formatting tests for MinGW
2013-06-16 04:30:27 -07:00
David Nadlinger
5465e59779
Adjust floating point formatting tests for MinGW.
...
As far as I am aware, the C standard doesn't make any
guarantees about what the leading digit in the hex formats
is, nor about the number of exponent digits displayed by
default.
We should look into replacing the functions with our own
implementations to provide consistent behavior independent
of the host C runtime library, and potentially also allowing
the functionality to be used from CTFE.
2013-06-16 13:13:50 +02:00
Denis Shelomovskij
a6afc98eeb
Add formatting option to std.json.toJSON
.
...
This allows JSON to be used as a temporary serialization format when debugging an application as it becomes human- and diff-readable.
Empty JSON object/array is formatted as "{}"/"[]".
2013-06-12 16:28:06 +04:00
Denis Shelomovskij
0fe395f178
Fix issue in std.json
when null
is returned instead of empty string/array.
2013-04-04 00:49:42 +04:00
Denis Shelomovskij
6c17b383df
[refactoring] Minor refactoring of std.json
.
2013-04-01 17:13:43 +04:00
Denis Shelomovskij
b37673c16d
[styling] Put open bracket on its own line in std.json
.
2013-04-01 17:13:43 +04:00
Denis Shelomovskij
ef1dd42f82
[whitespace] Fix spaces in std.json
.
2013-04-01 17:13:43 +04:00
Denis Shelomovskij
10bd83ebcd
[comments] Remove old commented out code in std.json
.
2013-04-01 17:13:43 +04:00
Jacob Carlborg
a272a595ad
Fixes Issue 9794 - std.json cannot handle delete character
2013-03-23 17:39:30 +01:00
k-hara
01df2f60be
Remove redundant parenthesis for getters, and use assignment syntax for setters
2012-11-23 15:07:17 +09:00
darkstalker
813dadfb47
fix for "some std.json improvements"
...
missing check for negative value
2012-07-08 23:51:18 -04:00
darkstalker
f8173c0425
std.json: properly handle large ulong values (bigger than 2^63-1)
...
store large ulong values in JSONValue.uinteger instead of throwing an overflow exception
2012-05-01 19:44:51 -04:00
darkstalker
2d625ddc6f
std.json: implement opIndex in struct JSONValue for accessing elements with array/hash syntax
2012-05-01 19:40:47 -04:00
Vladimir Panteleev
23c464f7bc
Improve std.json documentation
2011-07-26 04:52:41 +03:00
jmdavis
15fb65f1bb
Reverted toAsciiLower and toAsciiUpper to toLower and toUpper.
2011-06-22 19:22:27 -07:00
jmdavis
25b755a843
Reverted isAsciiWhite to isWhite.
2011-06-22 19:20:15 -07:00
jmdavis
2d310e5e20
Changed the names of some of the std.ascii functions.
...
isWhite, isLower, isUpper, toLower, and toUpper now have Ascii in their
name, which matches what std.unit does with its versions of those
functions. Hopefully, it should also reduce bugs due to using the wrong
function between the ASCII and unicode versions by making the difference
more obvious.
2011-06-19 18:41:00 -07:00
jmdavis
dd3a0c20a2
Created std.ascii to replace std.ctype.
...
All of the new, properly camelcased functions in std.ctype have been
moved to std.ascii, and std.ctype has been scheduled for deprecation.
2011-06-14 04:06:54 -07:00
jmdavis
30069ea6f0
Replaced calls to std.string and std.ctype's toupper with their toUpper counterparts.
2011-06-12 16:59:52 -07:00
jmdavis
654f35a677
Replaced calls to std.string and std.ctype's tolower with their toLower counterparts.
2011-06-12 16:59:52 -07:00
jmdavis
11cdd6ce17
Replaced calls to std.ctype.isxdigit with isHexDigit.
2011-06-12 16:59:51 -07:00
jmdavis
19ae2b4998
Replace calls to std.ctype.isdigt with std.ctype.isDigit.
2011-06-12 16:59:51 -07:00
jmdavis
85049f048c
Replaced calls to std.ctype.iscntrl with std.ctype.isControl.
2011-06-12 16:59:51 -07:00
jmdavis
76e1cfd2e9
Replaced calls to std.ctype.isspace with std.ctype.isWhite.
...
In a few places, I replaced it with std.uni.isUniWhite, but for the most
part, I replaced it with std.ctype.isWhite.
2011-06-12 16:59:50 -07:00
Walter Bright
046e1b36db
add source links
2011-02-06 15:46:50 -08:00
Iain Buclaw
9f51068a74
Fix for bugzilla 5366
2011-01-12 02:38:02 +00:00
Don Clugston
84477a5d3e
Move Boost copyright declaration from ddoc to normal comment. Fixes ugly ddoc output.
2010-11-24 19:34:47 +00:00
David Simcha
b597d23f83
Bug 4888: Heavy reliance on Bug 3534 in Phobos range usage. I used a different approach here than the first one I tried. I only did what was necessary to make Phobos work instead of trying to fix the deeper issue of making std.algorithm to work w/ const/immutable arrays.
2010-09-18 21:00:52 +00:00
Walter Bright
b8ce58ccd1
detab sources
2010-08-23 02:14:45 +00:00
Andrei Alexandrescu
3f2b8c12ea
64-bit compatibility work
2010-08-22 20:55:22 +00:00
Sean Kelly
f036f4ddcb
Set native eol-style for some files that didn't have it.
2010-07-06 19:16:04 +00:00
Andrei Alexandrescu
536cb93d9c
Fixed issue in Appender
2010-07-06 05:34:59 +00:00
Walter Bright
1063821e63
comment out broken unittest, fix later
2010-04-08 20:40:31 +00:00
Andrei Alexandrescu
2a9a6e336c
string, wstring are now bidirectional (not random) ranges
...
std.algorithm: defined move with one argument; levenshtein distance generalized to with all forward ranges; take now has swapped arguments
std.array: empty for arrays is now a @property; front and back for a string and wstring automatically decodes the first/last character; popFront, popBack for string and wstring obey the UTF stride
std.conv: changed the default array formatting from "[a, b, c]" to "a b c"
std.range: swapped order of arguments in take
std.stdio: added readln template
std.variant: now works with statically-sized arrays and const data
std.traits: added isNarrowString
2010-02-22 15:52:31 +00:00
Jeremie Pelletier
4c0b18cd02
Added json.d module.
2009-11-18 03:42:36 +00:00