deserialize: Load a typed record; duplicate keys and non-finite numeric...

View source: R/core.R

deserializeR Documentation

Load a typed record; duplicate keys and non-finite numeric values are rejected

Description

Load a typed record; duplicate keys and non-finite numeric values are rejected.

Usage

deserialize(text)

Arguments

text

A bounded JSON string with unique object keys and a supported typed root record.

Details

Expressions are sorted syntactic trees. Normalization changes bound names only, not logical content. Substitution avoids capture. A theory context is a declaration. Integers beyond 2^53-1 must use canonical decimal strings in ordinal terms. Serialization accepts bounded finite JSON data and never evaluates code. Typed deserialization validates against the current catalogue where applicable.

Input errors inherit from largecardinals_error and expose a code. No function publishes data or accesses the network.

Value

A reconstructed validated typed record or expression; malformed input raises a classified error.

Examples

deserialize(largecardinals::serialize_record(theory_context()))

largecardinals documentation built on Nov. 25, 2026, 5:09 p.m.