Skip to content

Commit

Permalink
Use Nullables (#227)
Browse files Browse the repository at this point in the history
  • Loading branch information
TotalVerb authored and ararslan committed Dec 1, 2017
1 parent 0b191d9 commit 600a40b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions REQUIRE
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
julia 0.6
Compat 0.37.0
Nullables 0.0.1
1 change: 1 addition & 0 deletions src/Parser.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ module Parser # JSON

using Compat
using Compat.Mmap
using Nullables
using ..Common

"""
Expand Down
1 change: 1 addition & 0 deletions src/Writer.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module Writer

using Compat.Dates
using Nullables
using ..Common
using ..Serializations: Serialization, StandardSerialization,
CommonSerialization
Expand Down
2 changes: 2 additions & 0 deletions test/standard-serializer.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
using Nullables

@testset "Symbol" begin
symtest = Dict(:symbolarray => [:apple, :pear], :symbolsingleton => :hello)
@test (JSON.json(symtest) == "{\"symbolarray\":[\"apple\",\"pear\"],\"symbolsingleton\":\"hello\"}"
Expand Down

0 comments on commit 600a40b

Please sign in to comment.