summaryrefslogtreecommitdiff
path: root/src/test/test-json.c
AgeCommit message (Collapse)Author
2014-12-22shared: json - support escaping utf16 surrogate pairsTom Gundersen
We originally only supported escaping ucs2 encoded characters (as \uxxxx). This only covers the BMP. Support escaping also utf16 surrogate pairs (on the form \uxxxx\uyyyy) to cover all of unicode.
2014-12-22shared: utf8 - support ucs4 -> utf8Tom Gundersen
Originally we only supported ucs2, so move the ucs4 version from libsystemd-terminal to shared and use that everywhere.
2014-12-16test-json: use fabsThomas Hindoe Paaboel Andersen
2014-12-15shared: add minimal JSON tokenizerLennart Poettering