me.grison.jtoml
Interface TomlSerializer

All Known Implementing Classes:
SimpleTomlSerializer

public interface TomlSerializer

Toml TomlSerializer interface.

Author:
$Author: Alexandre Grison$

Method Summary
 String serialize(Object object)
          Serializes the given Object to a TOML String.
 String serialize(String rootKey, Object object)
          Serializes the given Object to a TOML String.
 

Method Detail

serialize

String serialize(Object object)
Serializes the given Object to a TOML String.

Parameters:
object - the Object to be serialized
Returns:
the TOML String representing the given Object.

serialize

String serialize(String rootKey,
                 Object object)
Serializes the given Object to a TOML String.

Parameters:
rootKey - the root key (can be empty or null)
object - the Object to be serialized
Returns:
the TOML String representing the given Object.


Copyright © 2013. All Rights Reserved.