Package org.apache.groovy.toml.util
Class TomlConverter
java.lang.Object
org.apache.groovy.toml.util.TomlConverter
A converter for converting TOML to JSON, vice versa
- Since:
 - 4.0.0
 
- 
Method Summary
Modifier and TypeMethodDescriptionstatic StringconvertJsonToToml(Reader jsonReader) Convert json to tomlstatic StringconvertTomlToJson(Reader tomlReader) Convert toml to json 
- 
Method Details
- 
convertTomlToJson
Convert toml to json- Parameters:
 tomlReader- the reader of toml- Returns:
 - the text of json
 
 - 
convertJsonToToml
Convert json to toml- Parameters:
 jsonReader- the reader of json- Returns:
 - the text of toml
 
 
 -