kivi
Overview
KIVI format deserializer.
KIVI is a simple text format in which each key and its associated value are stored on separate lines. While it is not as widely known as formats like JSON or INI, it is straightforward and particularly useful in specific contexts where keys or values consist of multiple lines of text.
An example of a configuration file in KIVI format:
host
127.0.0.1
port
54321
timeout
12ms
host, port and timeout are keys; 127.0.0.1, 54321, 12ms are values.
It is quite similar to properties or INI file that store key-value pair in a single line.
In KIVI format, keys and values may span over multiple lines. Multiple-line keys or values must be enclosed in quotation markers. The default quotation marker is a quotation mark (U+0022).
Example configuration file with key and value spanning over multiple lines is shown below:
host
127.0.0.1
port
54321
timeout
12ms
"General
description"
"This configuration file
should be placed in the same
directory where the server's
binary is placed"
License
Licensed under either of
- MIT license (see LICENSE-MIT) or
- Apache License, Version 2.0 (see LICENSE and NOTICE)
at your option.
Contribution
Any contributions to kivi are greatly appreciated. All contributions intentionally submitted for inclusion in the work by you, shall be dual licensed as above, without any additional terms or conditions.
Brought to you with 💙 by Engos Software