dynosaur-core
dynosaur-core
dynosaur
CollectionConverters
DynamoValue
DynamoValue
Number
Number
NonEmptySet
NonEmptySet
Prism
Prism
Schema
Schema
DynosaurError
ReadError
WriteError
FieldBuilder
AltBuilder
structure
Identity
Num
Str
Bool
Bytes
Nul
BytesSet
NumSet
StrSet
Dictionary
Sequence
Record
Sum
Isos
Defer
Field
Field
Required
Optional
Alt
XMap
dynosaur.internal
decoding
encoding
dynosaur-core
/
dynosaur.internal
/
decoding
decoding
object
decoding
Graph
Supertypes
class
Object
trait
Matchable
class
Any
Type members
Value members
Type members
Types
type
Res
[A] =
Either
[
ReadError
,
A
]
Value members
Concrete methods
def
decodeBool
:
DynamoValue
=>
Res
[
Boolean
]
def
decodeBytes
:
DynamoValue
=>
Res
[
ByteVector
]
def
decodeBytesSet
:
DynamoValue
=>
Res
[
NonEmptySet
[
ByteVector
]]
def
decodeDictionary
[V](schema:
Schema
[V], value:
DynamoValue
):
Res
[
Map
[
String
, V]]
def
decodeIsos
[V](xmap:
XMap
[V], v:
DynamoValue
):
Res
[V]
def
decodeNull
:
DynamoValue
=>
Res
[
Unit
]
def
decodeNum
:
DynamoValue
=>
Res
[
Number
]
def
decodeNumSet
:
DynamoValue
=>
Res
[
NonEmptySet
[
Number
]]
def
decodeRecord
[R](recordSchema:
FreeApplicative
[[_] =>>
Field
[R, _$7], R]):
Map
[
String
,
DynamoValue
] =>
Res
[R]
def
decodeSequence
[V](schema:
Schema
[V], value:
DynamoValue
):
Res
[
List
[V]]
def
decodeStrSet
:
DynamoValue
=>
Res
[
NonEmptySet
[
String
]]
def
decodeString
:
DynamoValue
=>
Res
[
String
]
def
decodeSum
[A](cases:
Chain
[
Alt
[A]]):
DynamoValue
=>
Res
[A]
def
fromSchema
[A](s:
Schema
[A]):
DynamoValue
=>
Either
[
ReadError
, A]