1## Introduction
2
3This document describes the main features and principles of the configuration
4language called `UCL` - universal configuration language.
5
6If you are looking for the libucl API documentation you can find it at [this page](doc/api.md).
7
8## Basic structure
--- 248 unchanged lines hidden (view full) ---
257
258Each UCL object can be serialized to one of the three supported formats:
259
260* `JSON` - canonic json notation (with spaces indented structure);
261* `Compacted JSON` - compact json notation (without spaces or newlines);
262* `Configuration` - nginx like notation;
263* `YAML` - yaml inlined notation.
264
265## Performance
266
267Are UCL parser and emitter fast enough? Well, there are some numbers.
268I got a 19Mb file that consist of ~700 thousands lines of json (obtained via
269http://www.json-generator.com/). Then I checked jansson library that performs json
270parsing and emitting and compared it with UCL. Here are results:
271
272```
--- 28 unchanged lines hidden ---
2
3This document describes the main features and principles of the configuration
4language called `UCL` - universal configuration language.
5
6If you are looking for the libucl API documentation you can find it at [this page](doc/api.md).
7
8## Basic structure
--- 248 unchanged lines hidden (view full) ---
257
258Each UCL object can be serialized to one of the three supported formats:
259
260* `JSON` - canonic json notation (with spaces indented structure);
261* `Compacted JSON` - compact json notation (without spaces or newlines);
262* `Configuration` - nginx like notation;
263* `YAML` - yaml inlined notation.
264
265## Performance
266
267Are UCL parser and emitter fast enough? Well, there are some numbers.
268I got a 19Mb file that consist of ~700 thousands lines of json (obtained via
269http://www.json-generator.com/). Then I checked jansson library that performs json
270parsing and emitting and compared it with UCL. Here are results:
271
272```
--- 28 unchanged lines hidden ---