部分的に翻訳済み
このページは部分的に翻訳されています。一部原文の内容が含まれています。
データの読み込み
外部ファイルからのデータの読み込み。
これらの関数は、 例えば実験結果のようなデータの読み込みと埋め込みを支援します。
Encoding
Some of the functions are also capable of encoding, e.g. cbor.encode. They
facilitate passing structured data to plugins.
However, each data format has its own native types. Therefore, for an arbitrary
Typst value, the encode-to-decode roundtrip might be lossy. In general, numbers,
strings, and arrays or dictionaries composed of them
can be reliably converted, while other types may fall back to strings via repr,
which is for debugging purposes only. Please refer to
the page of each data format for details.
定義
- CBORファイルから構造化データを読み込む。
- CSVファイルから構造化データを読み込む。
- JSONファイルから構造化データを読み込む。
- ファイルからプレーンテキストやデータを読み込む。
- TOMLファイルから構造化データを読み込む。
- XMLファイルから構造化データを読み込む。
- YAMLファイルから構造化データを読み込む。