A value a persistence layer stores and gives back as it was: JSON data, and the JavaScript built-ins JSON cannot hold
(undefined, bigint, NaN, Infinity, -0, Date, RegExp, URL, Map, Set, ArrayBuffer and typed
arrays), nested in any combination. Layers convert them to PersistValue when writing, with
persistEncodeValue, and back when reading, with persistDecodeValue.
A value a persistence layer stores and gives back as it was: JSON data, and the JavaScript built-ins JSON cannot hold (
undefined,bigint,NaN,Infinity,-0,Date,RegExp,URL,Map,Set,ArrayBufferand typed arrays), nested in any combination. Layers convert them to PersistValue when writing, with persistEncodeValue, and back when reading, with persistDecodeValue.