Unverified Commit 1ae5aa27 authored by Daniel Friesel's avatar Daniel Friesel
Browse files

Journey: TO_JSON: Handle route (Stop.pm objects)

parent 38071ce2
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -420,6 +420,7 @@ sub TO_JSON {
			$ret->{$k} = $ret->{$k}->epoch;
		}
	}
	$ret->{route} = [ map { $_->TO_JSON } $self->route ];

	return $ret;
}