Expand description
Data format readers and writers.
Supported formats: JSON, JSON Lines, CSV/TSV, YAML, TOML, XML, MessagePack, Excel (xlsx, read-only), SQLite (read-only), Apache Parquet, Markdown (write-only), HTML (write-only).
Modules§
- csv
- CSV/TSV reader and writer.
- env
- .env file reader and writer.
- hcl
- Stub module — HCL feature not enabled.
- html
- HTML table writer.
- ini
- INI/CFG configuration file reader and writer.
- json
- JSON reader, writer, and value conversion utilities.
- jsonl
- JSON Lines (NDJSON) reader and writer.
- log
- Log file reader (Apache, nginx, syslog, custom patterns).
- markdown
- Markdown table writer.
- msgpack
- Stub module — MessagePack feature not enabled.
- parquet
- Stub module — Parquet feature not enabled.
- plist
- Stub module — plist feature not enabled.
- properties
- Java
.propertiesfile reader and writer. - sqlite
- Stub module — SQLite feature not enabled.
- template
- Stub module — Template feature not enabled.
- toml
- TOML reader and writer.
- xlsx
- Stub module — Excel feature not enabled.
- xml
- Stub module — XML feature not enabled.
- yaml
- YAML reader and writer.
Structs§
- Format
Options - Format-specific options controlling how data is read or written.
Enums§
- Format
- Supported data formats for reading and writing.
Traits§
- Format
Reader - Trait for reading a data format into a
Value. - Format
Writer - Trait for writing a
Valueto a data format.
Functions§
- default_
delimiter - 파일 확장자에 따른 기본 delimiter 반환
.tsv파일은 탭 구분자를 사용한다. - default_
delimiter_ for_ format --to포맷 문자열에 따른 기본 delimiter 반환- detect_
format - 파일 확장자로 포맷을 자동 감지
- detect_
format_ from_ content - 콘텐츠 스니핑으로 포맷을 자동 감지