Class: Java::JavaUtil::Date
- Inherits:
-
Object
- Object
- Java::JavaUtil::Date
- Defined in:
- lib/jinx/json/date.rb
Instance Method Summary collapse
-
#to_json(*args) ⇒ String
Adds JSON serialization to Java Date.
Instance Method Details
#to_json(*args) ⇒ String
Adds JSON serialization to Java Date. The JSON is deserialized as a Ruby Date.
29 30 31 |
# File 'lib/jinx/json/date.rb', line 29 def to_json(*args) to_ruby_date.to_json(*args) end |