Skip to content

End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

class method

DateTime.json_create

json_create(object)

Deserializes JSON string by converting year y, month m, day d, hour H, minute M, second S, offset of and Day of Calendar Reform sg to DateTime.

See also .jisx0301 .new .jd .now also in 4.0 · 3.4 · 3.3 · 3.2 · 3.1