function decodeJson codec.ts:192 decodeJson<T>(decoder: Decoder<T>, text: string) → Result<T, string>Parse JSON text and decode it, reporting both kinds of failure the same way.decoderDecoder<T>UndocumentedtextstringUndocumentedReturnsResult<T, string>