]> git.proxmox.com Git - mirror_qemu.git/commit - qobject/json-parser-int.h
json: Rename token JSON_ESCAPE & friends to JSON_INTERP
authorMarkus Armbruster <armbru@redhat.com>
Thu, 23 Aug 2018 16:40:04 +0000 (18:40 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Fri, 24 Aug 2018 18:26:37 +0000 (20:26 +0200)
commit61030280ca2d67bd63cb068250aee55849cd38ca
treeb00ba231a2efc8d35fcd002764013227c5aa360e
parent269e57ae28599b07368134a64452674009491593
json: Rename token JSON_ESCAPE & friends to JSON_INTERP

The JSON parser optionally supports interpolation.  The code calls it
"escape".  Awkward, because it uses the same term for escape sequences
within strings.  The latter usage is consistent with RFC 8259 "The
JavaScript Object Notation (JSON) Data Interchange Format" and ISO C.
Call the former "interpolation" instead.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20180823164025.12553-38-armbru@redhat.com>
include/qapi/qmp/json-lexer.h
qobject/json-lexer.c
qobject/json-parser.c