mirror of
https://github.com/ruby/ruby.git
synced 2025-09-23 12:33:56 +02:00
* ext/json/lib/*.rb: Removed some comments. Because these are unnecessary
class description. [ci skip][Bug #12255][ruby-core:74835] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
69b8fddd55
commit
3261d3f3cc
10 changed files with 5 additions and 9 deletions
|
@ -4,7 +4,6 @@ unless defined?(::JSON::JSON_LOADED) and ::JSON::JSON_LOADED
|
|||
end
|
||||
require 'date'
|
||||
|
||||
# Date serialization/deserialization
|
||||
class Date
|
||||
|
||||
# Deserializes JSON string by converting Julian year <tt>y</tt>, month
|
||||
|
|
|
@ -4,7 +4,6 @@ unless defined?(::JSON::JSON_LOADED) and ::JSON::JSON_LOADED
|
|||
end
|
||||
require 'date'
|
||||
|
||||
# DateTime serialization/deserialization
|
||||
class DateTime
|
||||
|
||||
# Deserializes JSON string by converting year <tt>y</tt>, month <tt>m</tt>,
|
||||
|
|
|
@ -3,7 +3,6 @@ unless defined?(::JSON::JSON_LOADED) and ::JSON::JSON_LOADED
|
|||
require 'json'
|
||||
end
|
||||
|
||||
# Exception serialization/deserialization
|
||||
class Exception
|
||||
|
||||
# Deserializes JSON string by constructing new Exception object with message
|
||||
|
|
|
@ -4,7 +4,6 @@ unless defined?(::JSON::JSON_LOADED) and ::JSON::JSON_LOADED
|
|||
end
|
||||
require 'ostruct'
|
||||
|
||||
# OpenStruct serialization/deserialization
|
||||
class OpenStruct
|
||||
|
||||
# Deserializes JSON string by constructing new Struct object with values
|
||||
|
|
|
@ -3,7 +3,6 @@ unless defined?(::JSON::JSON_LOADED) and ::JSON::JSON_LOADED
|
|||
require 'json'
|
||||
end
|
||||
|
||||
# Range serialization/deserialization
|
||||
class Range
|
||||
|
||||
# Deserializes JSON string by constructing new Range object with arguments
|
||||
|
|
|
@ -3,7 +3,6 @@ unless defined?(::JSON::JSON_LOADED) and ::JSON::JSON_LOADED
|
|||
require 'json'
|
||||
end
|
||||
|
||||
# Regexp serialization/deserialization
|
||||
class Regexp
|
||||
|
||||
# Deserializes JSON string by constructing new Regexp object with source
|
||||
|
|
|
@ -3,7 +3,6 @@ unless defined?(::JSON::JSON_LOADED) and ::JSON::JSON_LOADED
|
|||
require 'json'
|
||||
end
|
||||
|
||||
# Struct serialization/deserialization
|
||||
class Struct
|
||||
|
||||
# Deserializes JSON string by constructing new Struct object with values
|
||||
|
|
|
@ -3,7 +3,6 @@ unless defined?(::JSON::JSON_LOADED) and ::JSON::JSON_LOADED
|
|||
require 'json'
|
||||
end
|
||||
|
||||
# Symbol serialization/deserialization
|
||||
class Symbol
|
||||
# Returns a hash, that will be turned into a JSON object and represent this
|
||||
# object.
|
||||
|
|
|
@ -3,7 +3,6 @@ unless defined?(::JSON::JSON_LOADED) and ::JSON::JSON_LOADED
|
|||
require 'json'
|
||||
end
|
||||
|
||||
# Time serialization/deserialization
|
||||
class Time
|
||||
|
||||
# Deserializes JSON string by converting time since epoch to Time
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue