Takes token input and encodes it into
FormData
object where form field values are discovered Blob (or File) objects in
the given token and field keys are . joined paths where they were discoverd
in the token. Additionally encoded FormData will also have a field
named meta containing JSON serialized token with blobs and file values
null set to null (this allows backend to injest all of the files from
multipart/form-data request and update provided "meta" data with
corresponding file ipfs:// URLs)
Substitues values in the given input that match p(value) == true with
f(value, context, path) where context is whatever you pass (usually
a mutable state) and path is a array of keys / indexes where the value
was encountered.
Arbitrary input.
Predicate function to determine which values to swap.
Function that swaps matching values.
Some additional context you need in the process.
likey you'll start with [].
Generated using TypeDoc
Paths were to expect EncodedURLs