LooseJson

Reads CI service JSON, where durations may be fractional; those numbers become strings.

Functions

Link copied to clipboard
fun millis(value: JsonValue?): Long?

Milliseconds of a seconds value written as an integer or a plain decimal string.

Link copied to clipboard
fun parse(text: String): JsonValue
Link copied to clipboard