forked from JuliaIO/JSON.jl
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request JuliaIO#164 from TotalVerb/fw/v0.4
Drop v0.3 support and clean up `@compat`s
- Loading branch information
Showing
10 changed files
with
67 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,6 @@ os: | |
- osx | ||
- linux | ||
julia: | ||
- 0.3 | ||
- 0.4 | ||
- 0.5 | ||
- nightly | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
julia 0.3 | ||
julia 0.4 | ||
Compat 0.8.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,44 @@ | ||
# The following bytes have significant meaning in JSON | ||
const BACKSPACE = @compat UInt8('\b') | ||
const TAB = @compat UInt8('\t') | ||
const NEWLINE = @compat UInt8('\n') | ||
const FORM_FEED = @compat UInt8('\f') | ||
const RETURN = @compat UInt8('\r') | ||
const SPACE = @compat UInt8(' ') | ||
const STRING_DELIM = @compat UInt8('"') | ||
const PLUS_SIGN = @compat UInt8('+') | ||
const DELIMITER = @compat UInt8(',') | ||
const MINUS_SIGN = @compat UInt8('-') | ||
const DECIMAL_POINT = @compat UInt8('.') | ||
const SOLIDUS = @compat UInt8('/') | ||
const DIGIT_ZERO = @compat UInt8('0') | ||
const DIGIT_NINE = @compat UInt8('9') | ||
const SEPARATOR = @compat UInt8(':') | ||
const LATIN_UPPER_A = @compat UInt8('A') | ||
const LATIN_UPPER_E = @compat UInt8('E') | ||
const LATIN_UPPER_F = @compat UInt8('F') | ||
const ARRAY_BEGIN = @compat UInt8('[') | ||
const BACKSLASH = @compat UInt8('\\') | ||
const ARRAY_END = @compat UInt8(']') | ||
const LATIN_A = @compat UInt8('a') | ||
const LATIN_B = @compat UInt8('b') | ||
const LATIN_E = @compat UInt8('e') | ||
const LATIN_F = @compat UInt8('f') | ||
const LATIN_L = @compat UInt8('l') | ||
const LATIN_N = @compat UInt8('n') | ||
const LATIN_R = @compat UInt8('r') | ||
const LATIN_S = @compat UInt8('s') | ||
const LATIN_T = @compat UInt8('t') | ||
const LATIN_U = @compat UInt8('u') | ||
const OBJECT_BEGIN = @compat UInt8('{') | ||
const OBJECT_END = @compat UInt8('}') | ||
const BACKSPACE = UInt8('\b') | ||
const TAB = UInt8('\t') | ||
const NEWLINE = UInt8('\n') | ||
const FORM_FEED = UInt8('\f') | ||
const RETURN = UInt8('\r') | ||
const SPACE = UInt8(' ') | ||
const STRING_DELIM = UInt8('"') | ||
const PLUS_SIGN = UInt8('+') | ||
const DELIMITER = UInt8(',') | ||
const MINUS_SIGN = UInt8('-') | ||
const DECIMAL_POINT = UInt8('.') | ||
const SOLIDUS = UInt8('/') | ||
const DIGIT_ZERO = UInt8('0') | ||
const DIGIT_NINE = UInt8('9') | ||
const SEPARATOR = UInt8(':') | ||
const LATIN_UPPER_A = UInt8('A') | ||
const LATIN_UPPER_E = UInt8('E') | ||
const LATIN_UPPER_F = UInt8('F') | ||
const ARRAY_BEGIN = UInt8('[') | ||
const BACKSLASH = UInt8('\\') | ||
const ARRAY_END = UInt8(']') | ||
const LATIN_A = UInt8('a') | ||
const LATIN_B = UInt8('b') | ||
const LATIN_E = UInt8('e') | ||
const LATIN_F = UInt8('f') | ||
const LATIN_L = UInt8('l') | ||
const LATIN_N = UInt8('n') | ||
const LATIN_R = UInt8('r') | ||
const LATIN_S = UInt8('s') | ||
const LATIN_T = UInt8('t') | ||
const LATIN_U = UInt8('u') | ||
const OBJECT_BEGIN = UInt8('{') | ||
const OBJECT_END = UInt8('}') | ||
|
||
const ESCAPES = @compat(Dict( | ||
const ESCAPES = Dict( | ||
STRING_DELIM => STRING_DELIM, | ||
BACKSLASH => BACKSLASH, | ||
SOLIDUS => SOLIDUS, | ||
LATIN_B => BACKSPACE, | ||
LATIN_F => FORM_FEED, | ||
LATIN_N => NEWLINE, | ||
LATIN_R => RETURN, | ||
LATIN_T => TAB)) | ||
LATIN_T => TAB) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters