struct

Graphene::Serialize::T_time_point_sec

Inherits Graphene::Serialize::Pack < Struct < Value < Object

Constructors

from_graphene_json(json : JSON::Any | Nil, args) : self
Source
new(value : UInt32)
Source
new(value : String)
Source
unpack(io) : self
Source

Instance methods

pack(io)
Source
to_json(json : JSON::Builder) : Nil
Source
to_s

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.

Source
value
Source