Skip to content

Commit

Permalink
Update OUTPUT_STREAM to STDOUT.
Browse files Browse the repository at this point in the history
  • Loading branch information
dcjones committed Aug 8, 2013
1 parent 313ee68 commit 6659ee8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/JSON.jl
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function print{T}(io::IO, a::Array{T, 2})
end

# Default to printing to STDOUT
print{T}(a::T) = JSON.print(OUTPUT_STREAM, a)
print{T}(a::T) = JSON.print(STDOUT, a)

json(a) = sprint(JSON.print, a)

Expand Down

0 comments on commit 6659ee8

Please sign in to comment.