convert_data


Description:


[ Version ( since = "0.1" ) ]
public string convert_data (string data, ConvertableDataType from, ConvertableDataType to, Settings? settings = null) throws Error

Convert a JSON or YAML root while preserving dynamic scalar kinds.

For typed models, use JsonWorker.deserialize_with_codec or YamlWorker.deserialize_with_codec with an explicit ValueCodec.


Namespace: Deser.Convert
Package: libdeser-0.1