docs/Writerside/topics/parsers.md

Sat, 15 Mar 2025 22:58:51 +0100

author
Mike Becker <universe@uap-core.de>
date
Sat, 15 Mar 2025 22:58:51 +0100
changeset 1247
e30d38e06559
parent 1212
cc9f9a30869f
permissions
-rw-r--r--

fix warning in test case due to C23 multibyte strings not being compatible with const char*

# Parsers

UCX offers parsers for two common formats: key/value [properties](properties.h.md) and [JSON](json.h.md).

Both parser APIs are implemented in a memory efficient way.
Depending on the use case, the properties parser can avoid memory allocations completely
and the JSON parser minimizes allocations as good as possible.
Due to the nature of JSON, avoiding allocations altogether is of course not possible, though.

mercurial