Format-preserving TOML inspection and safe editing workbench for MoonBit
pub fn parse(String) -> Result[Table, TomlError]
pub fn serialize(Table) -> String
pub fn to_json(Table) -> Json
pub fn decode_tagged_json(String) -> Result[String, TomlError]
pub fn encode_tagged_value(Value) -> Stringpub fn scan(String) -> ScanResult
pub fn parse_key_path(String) -> Result[Array[String], SyntaxError]
pub fn Document::find_entries(Self, Array[String]) -> Array[KeyValueEntry]
pub fn Statement::text(Self, String) -> Stringpub fn sort_diagnostics(Array[Diagnostic]) -> Array[Diagnostic]
pub fn render_text(String, String, Diagnostic) -> String
pub fn render_json(Array[Diagnostic]) -> Stringpub fn validate_edits(String, Array[TextEdit]) -> Result[Array[TextEdit], EditError]
pub fn apply_edits(String, Array[TextEdit]) -> Result[String, EditError]
pub fn set_value(String, Array[String], String) -> Result[String, OperationError]
pub fn remove_key(String, Array[String]) -> Result[String, OperationError]pub fn parse_args(Array[String]) -> Result[Command, CommandError]
pub fn run(Command, String) -> RunResult
pub fn usage() -> Stringtype Lexerpub enum Value {
String(String)
Integer(Int64)
Float(Double)
Boolean(Bool)
OffsetDateTime(OffsetDateTime)
LocalDateTime(LocalDateTime)
LocalDate(LocalDate)
LocalTime(LocalTime)
Array(Array[Value])
Table(Map[String, Value])
} derive(Debug)Install
Download zipFormat-preserving TOML inspection and safe editing workbench for MoonBit