Package org.apache.juneau.marshall.ini


package org.apache.juneau.marshall.ini
INI format serializer and parser for Apache Juneau.

INI is a classic configuration file format with sections ([sectionName]) and key-value pairs. Beans map to INI with simple properties as key-value pairs and nested beans as named sections.

Usage:

String ini = IniSerializer.DEFAULT.write(myBean); MyBean bean = IniParser.DEFAULT.read(ini, MyBean.class); // Or use the marshaller: String ini = Ini.of(myBean); MyBean bean = Ini.to(ini, MyBean.class);

See Also: