You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SBE codec is not escapes characters reserved by JSON during serialization.
It produces invalid JSON in cases when symbols like " present in text fields.
I've pushed a change which will Json escape var data strings in UTF-8 or ASCII will is a subset and this is use for the pretty printing. Raw binary will be summarised as "x bytes of raw data".
Activity
mjpt777 commentedon Sep 13, 2019
This is not something we make use of. Feel free to send a PR to address it.
rigtorp commentedon Oct 4, 2019
There is no builtin JSON serialization in the C++ codecs is there?
ksergey commentedon Oct 8, 2019
@rigtorp there is JSON-like serialization. Serialization code don't escape JSON control chars in strings.
ksergey commentedon Oct 8, 2019
I think better solution to have something like exists in
rapidjsonlibrary:https://rapidjson.org/md_doc_sax.html#Reader
[C++] Escape var data character strings when pretty printing codecs a…
[C++] Provide a get<property name>AsJsonEscapedString for var data an…
mjpt777 commentedon Oct 14, 2019
I've pushed a change which will Json escape var data strings in UTF-8 or ASCII will is a subset and this is use for the pretty printing. Raw binary will be summarised as "x bytes of raw data".