Logo Mibo

ChangeableConverterFactory Type

The System.Text.Json entry point for changeable nodes. The four changeable node types (cval, cset, cmap, clist) carry a JsonConverter attribute pointing here, so a plain JsonSerializer.Serialize / JsonSerializer.Deserialize call round-trips a node with no options and no converter registration.

The wire format is the bare payload: cval -> scalar, cset/clist -> array, cmap -> object. Deserialization rebuilds the node through its constructor, so the node attaches to the deserializing thread's ambient graph and all transient machinery (sinks, journal, post ring, scratch buffers) starts fresh. The version counter is not persisted.

Example

 let v = CVal.create 10
 let json = JsonSerializer.Serialize v
 let v' = JsonSerializer.Deserialize<cval<int>> json
val v: obj
val json: obj
val v': obj
Multiple items
val int: value: 'T -> int (requires member op_Explicit)

--------------------
type int = int32

--------------------
type int<'Measure> = int

Constructors

Constructor Description

ChangeableConverterFactory()

Full Usage: ChangeableConverterFactory()

Returns: ChangeableConverterFactory

Type something to start searching.