Skip to content

EngosSoftware/kivi

kivi

Crates.io Code coverage build Linux build Windows build MacOs build MacOs arm64 MIT licensed Apache 2.0 licensed Contributor Covenant Made by Human

Key-value pair with key and value in separate lines

Overview

KIVI format deserializer.

KIVI is a text format where each key and its corresponding value are stored on separate lines. While not as widely known as formats like JSON or INI, it is straightforward and especially useful in contexts where keys or values span multiple lines.

Example of a configuration file written 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.

In KIVI format, keys and values may span multiple lines. Multi-line keys or values must be enclosed in quotation markers. The default quotation marker is the quotation mark " (U+0022).

Example configuration file with multi-line keys and values 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

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

About

Key-value pair with key and value in separate lines

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE
MIT
LICENSE-MIT

Code of conduct

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages