Package org.apache.juneau.marshall.toml


package org.apache.juneau.marshall.toml
TOML v1.0.0 serializer and parser for Apache Juneau.

TOML (Tom's Obvious Minimal Language) is a configuration file format that maps unambiguously to hash tables. See TOML v1.0.0.

Usage:

String toml = TomlSerializer.DEFAULT.write(myBean); MyBean bean = TomlParser.DEFAULT.read(toml, MyBean.class); // Or use the marshaller: String toml = Toml.of(myBean); MyBean bean = Toml.to(toml, MyBean.class);