()
| 54 | } |
| 55 | |
| 56 | get json(): Effect.Effect<unknown, E> { |
| 57 | return Effect.tryMap(this.text, { |
| 58 | try: (_) => _ === "" ? null : JSON.parse(_) as unknown, |
| 59 | catch: this.onError |
| 60 | }) |
| 61 | } |
| 62 | |
| 63 | get unsafeJson(): unknown { |
| 64 | return Effect.runSync(this.json) |
nothing calls this directly
no test coverage detected
searching dependent graphs…