ProgressNotification.fromJson

Parse the params object of a notifications/progress message. Tolerant of a missing/ill-typed payload (returns a default-valued struct), and accepts progress/total as either integer or floating-point JSON.

struct ProgressNotification
static @safe
fromJson
(
Json params
)