Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion lib/json/add/date.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
end
require 'date'

# Date serialization/deserialization
class Date

# Deserializes JSON string by converting Julian year <tt>y</tt>, month
Expand Down
1 change: 0 additions & 1 deletion lib/json/add/date_time.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
end
require 'date'

# DateTime serialization/deserialization
class DateTime

# Deserializes JSON string by converting year <tt>y</tt>, month <tt>m</tt>,
Expand Down
1 change: 0 additions & 1 deletion lib/json/add/exception.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
require 'json'
end

# Exception serialization/deserialization
class Exception

# Deserializes JSON string by constructing new Exception object with message
Expand Down
1 change: 0 additions & 1 deletion lib/json/add/ostruct.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
end
require 'ostruct'

# OpenStruct serialization/deserialization
class OpenStruct

# Deserializes JSON string by constructing new Struct object with values
Expand Down
1 change: 0 additions & 1 deletion lib/json/add/range.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
require 'json'
end

# Range serialization/deserialization
class Range

# Deserializes JSON string by constructing new Range object with arguments
Expand Down
1 change: 0 additions & 1 deletion lib/json/add/regexp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
require 'json'
end

# Regexp serialization/deserialization
class Regexp

# Deserializes JSON string by constructing new Regexp object with source
Expand Down
1 change: 0 additions & 1 deletion lib/json/add/struct.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
require 'json'
end

# Struct serialization/deserialization
class Struct

# Deserializes JSON string by constructing new Struct object with values
Expand Down
1 change: 0 additions & 1 deletion lib/json/add/symbol.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
require 'json'
end

# Symbol serialization/deserialization
class Symbol
# Returns a hash, that will be turned into a JSON object and represent this
# object.
Expand Down
1 change: 0 additions & 1 deletion lib/json/add/time.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
require 'json'
end

# Time serialization/deserialization
class Time

# Deserializes JSON string by converting time since epoch to Time
Expand Down