TOML | JAVA | Ballerina | toml4j

Configure your JAVA program with TOML file

Introduction to a simple TOML parser for java applications.

Kosala Sananthana
The Startup
Published in
5 min readAug 14, 2019

--

TOML aims to be a minimal configuration file format that’s easy to read due to obvious semantics. TOML is designed to map unambiguously to a hash table. TOML should be easy to parse into data structures in a wide variety of languages. — Github(toml-lang)

There are many general-purpose serialization formats available and they can represent complex data structures in an easily stored format. In addition, many open-source and platform neutral software applications and libraries use these serialization formats as a basic configuration file.

Serialization Formats ?

In computer science, in the context of data storage, serialization is the process of translating data structures or object state into a format that can be stored or transmitted and reconstructed later. (wikipedia)

The rules and regulations defined these serialization formats are routinely made available to the public, which will increasing the availability of parsers and emitters…

--

--

Kosala Sananthana
The Startup

PhD Student @ AχL — Monash University | Former Senior Software Engineer @ WSO2 Inc. | Writer @ The Startup/Better Programming/Towards Data Science