mirror of
https://github.com/dlang/phobos.git
synced 2025-04-27 13:40:20 +03:00
remove deprecated stuff in std.json
This commit is contained in:
parent
df741a928d
commit
11ebb6474b
1 changed files with 10 additions and 12 deletions
22
std/json.d
22
std/json.d
|
@ -95,20 +95,18 @@ enum JSONType : byte
|
|||
object, /// ditto
|
||||
true_, /// ditto
|
||||
false_, /// ditto
|
||||
/// These symbols will be deprecated after 2.082.
|
||||
NULL = null_,
|
||||
STRING = string,
|
||||
INTEGER = integer,
|
||||
UINTEGER = uinteger,
|
||||
FLOAT = float_,
|
||||
ARRAY = array,
|
||||
OBJECT = object,
|
||||
TRUE = true_,
|
||||
FALSE = false_,
|
||||
deprecated("Use .null_") NULL = null_,
|
||||
deprecated("Use .string") STRING = string,
|
||||
deprecated("Use .integer") INTEGER = integer,
|
||||
deprecated("Use .uinteger") UINTEGER = uinteger,
|
||||
deprecated("Use .float_") FLOAT = float_,
|
||||
deprecated("Use .array") ARRAY = array,
|
||||
deprecated("Use .object") OBJECT = object,
|
||||
deprecated("Use .true_") TRUE = true_,
|
||||
deprecated("Use .false_") FALSE = false_,
|
||||
}
|
||||
|
||||
/// This alias will be deprecated after 2.082.
|
||||
alias JSON_TYPE = JSONType;
|
||||
deprecated("Use JSONType") alias JSON_TYPE = JSONType;
|
||||
|
||||
/**
|
||||
JSON value node
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue