Interface: SafeJsonResult<T>
Defined in: shared/utils/jsonSafety.ts:18
Result tuple produced by the safe JSON helpers.
Type Parametersโ
Tโ
T
Propertiesโ
data?โ
optionaldata:T
Defined in: shared/utils/jsonSafety.ts:20
Parsed value when the operation succeeds.
error?โ
optionalerror:string
Defined in: shared/utils/jsonSafety.ts:25
Descriptive error message when the operation fails. Present only when
SafeJsonResult.success is false.
successโ
success:
boolean
Defined in: shared/utils/jsonSafety.ts:27
Indicates whether the underlying operation completed successfully.