README

Wchwch777/moonverity/adapters does not have a README file

#
DatasetShape

pub(all) struct DatasetShape {
row_count : Int
column_names : Array[String]
min_columns_per_row : Int
max_columns_per_row : Int
empty_row_count : Int
} derive(Eq,
Debug
)

Structural facts about a normalized row collection.

#
inspect_shape

fn inspect_shape(rows : Array[Map[String, String]]) -> DatasetShape

Inspect row shape without interpreting field values.

#
normalize_rows

fn normalize_rows(rows : Array[Map[String, String]]) -> Array[Map[String, String]]

Trim keys and values so records from different input sources share one normalization policy before validation or serialization.

#
parse_csv_text

fn parse_csv_text(source : String) -> Array[Map[String, String]]

#
parse_jsonl_text

fn parse_jsonl_text(source : String) -> Array[Map[String, String]]

#
project_rows

fn project_rows(rows : Array[Map[String, String]], columns : Array[String]) -> Array[Map[String, String]]

Project records to a stable set of columns, filling missing cells with "".

#
read_csv_file

fn read_csv_file(path : String) -> Array[Map[String, String]]

#
read_jsonl_file

fn read_jsonl_file(path : String) -> Array[Map[String, String]]

#
render_csv

fn render_csv(rows : Array[Map[String, String]], columns : Array[String]) -> String

Serialize rows as RFC 4180-compatible single-line CSV records.

#
render_jsonl

fn render_jsonl(rows : Array[Map[String, String]]) -> String

Serialize rows as JSONL with every cell represented as a JSON string.

#
row_columns

fn row_columns(rows : Array[Map[String, String]]) -> Array[String]

Return all column names in sorted order without duplicates.

Powered by MoonBit

Site sourceReport issuePackagesBuild queueSkillsStatistics

© 2026 mooncakes.io