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 conversion specification %% in JSON strings as a
convenience anyway, because it's trivially easy to do.

Signed-off-by: Markus Armbruster <[email protected]>
---
  qobject/json-parser.c | 3 ++-
  tests/check-qjson.c   | 4 ++--
  2 files changed, 4 insertions(+), 3 deletions(-)


Reviewed-by: Eric Blake <[email protected]>

--
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org

Reply via email to