canonical_value_string

Function canonical_value_string 

Source
pub fn canonical_value_string(value: &PropertyValue) -> Option<JsString>
Expand description

The text produced when fingerprint normalization collapses a value to a string.

Strings are kept verbatim, non-finite scalars become their ECMAScript token, and composites use the diff engine’s sorted-key JSON serializer. Null, booleans and finite numbers retain their scalar type and return None. Other adapters should use this function rather than choose another JSON form.