class

Journalctl::MicrosecondsEpochConverter

Inherits Reference < Object

Custom JSON converter for __REALTIME_TIMESTAMP (microseconds string) to Time

Class methods

from_json(parser : JSON::PullParser) : Time

Converts from JSON, typically called by JSON::Serializable. Uses read_string_or_null to correctly handle JSON null values.

Source
from_string(s_val : String | Nil) : Time

Helper to convert from a string value, also handling nil or empty strings.

Source
to_json(value : Time, builder : JSON::Builder)
Source