Helpers
module Helpers| Assembly | Thoth.Json.Core |
Functions and values
prependPath<'JsonValue> (path: string) (string, ErrorReason<'JsonValue>) : DecoderError<'JsonValue>
prependPath<'JsonValue> (path: string) (string, ErrorReason<'JsonValue>) : DecoderError<'JsonValue>Put a path segment in front of a failure's own path.
prependPathToResult<'T, 'JsonValue> (path: string) (res: Result<'T,DecoderError<'JsonValue>>) : Result<'T,DecoderError<'JsonValue>>
prependPathToResult<'T, 'JsonValue> (path: string) (res: Result<'T,DecoderError<'JsonValue>>) : Result<'T,DecoderError<'JsonValue>>Put a path segment in front of a failed result's path.