Re: [PATCH v4 1/2] json: Add function to unescape JSON-encoded strings

2022-06-30 Thread Daniel Kiper
On Mon, Jun 06, 2022 at 07:28:56AM +0200, Patrick Steinhardt wrote: > JSON strings require certain characters to be encoded, either by using a > single reverse solidus character "\" for a set of popular characters, or > by using a Unicode representation of "\uX". The jsmn library doesn't > hand

Re: [PATCH v4 1/2] json: Add function to unescape JSON-encoded strings

2022-06-06 Thread Glenn Washburn
On Mon, 6 Jun 2022 07:28:56 +0200 Patrick Steinhardt wrote: > JSON strings require certain characters to be encoded, either by using a > single reverse solidus character "\" for a set of popular characters, or > by using a Unicode representation of "\uX". The jsmn library doesn't > handle une

[PATCH v4 1/2] json: Add function to unescape JSON-encoded strings

2022-06-05 Thread Patrick Steinhardt
JSON strings require certain characters to be encoded, either by using a single reverse solidus character "\" for a set of popular characters, or by using a Unicode representation of "\uX". The jsmn library doesn't handle unescaping for us, so we must implement this functionality for ourselves.