taoensso.nippy.tools

Utilities for third-party tools that want to add fully-user-configurable
Nippy support. Used by Carmine and Faraday.

*thaw-opts*

dynamic

->WrappedForFreezing

(->WrappedForFreezing value opts)
Positional factory function for class taoensso.nippy.tools.WrappedForFreezing.

freeze

(freeze x & [{:keys [default-opts]}])
Like `nippy/freeze` but takes options from special argument wrapper when
present.

map->WrappedForFreezing

(map->WrappedForFreezing m__6249__auto__)
Factory function for class taoensso.nippy.tools.WrappedForFreezing, taking a map of keywords to field values.

thaw

(thaw ba & [{:keys [default-opts]}])
Like `nippy/thaw` but takes options from *thaw-opts* binding.

with-thaw-opts

macro

(with-thaw-opts opts & body)
Evaluates body using given options for any automatic deserialization in
context.

wrap-for-freezing

(wrap-for-freezing value & [opts])
Wraps arg (any freezable data type) so that (tools/freeze <wrapped-arg>)
will serialize the arg using given options.

wrapped-for-freezing?

(wrapped-for-freezing? x)