Re: [Qemu-devel] [PATCH v2 60/60] json: Support %% in JSON strings when interpolating

2018-08-17 Thread Eric Blake
On 08/17/2018 10:05 AM, Markus Armbruster wrote: The previous commit makes JSON strings containing '%' awkward to express in templates: you'd have to mask the '%' with an Unicode s/an Unicode/a Unicode/ escape \u0025. No template currently contains such JSON strings. Support the printf conve

[Qemu-devel] [PATCH v2 60/60] json: Support %% in JSON strings when interpolating

2018-08-17 Thread Markus Armbruster
The previous commit makes JSON strings containing '%' awkward to express in templates: you'd have to mask the '%' with an Unicode escape \u0025. No template currently contains such JSON strings. Support the printf conversion specification %% in JSON strings as a convenience anyway, because it's tr