mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-12 11:02:30 -04:00
jsonapi: more rsMsg functions
This commit is contained in:
parent
70678ad508
commit
897c8e0a8a
2 changed files with 107 additions and 13 deletions
|
@ -394,8 +394,8 @@ struct RsTypeSerializer
|
|||
RsGenericSerializer::SerializeContext lCtx(
|
||||
nullptr, 0, ctx.mFlags, &allocator );
|
||||
|
||||
serial_process(j, ctx, p.first, "first");
|
||||
serial_process(j, ctx, p.second, "second");
|
||||
serial_process(j, lCtx, p.first, "first");
|
||||
serial_process(j, lCtx, p.second, "second");
|
||||
|
||||
rapidjson::Value key;
|
||||
key.SetString(memberName.c_str(), memberName.length(), allocator);
|
||||
|
@ -434,8 +434,8 @@ struct RsTypeSerializer
|
|||
RsGenericSerializer::SerializeContext lCtx(nullptr, 0, ctx.mFlags);
|
||||
lCtx.mJson.SetObject() = v; // Beware of move semantic!!
|
||||
|
||||
serial_process(j, ctx, p.first, "first");
|
||||
serial_process(j, ctx, p.second, "second");
|
||||
serial_process(j, lCtx, p.first, "first");
|
||||
serial_process(j, lCtx, p.second, "second");
|
||||
ctx.mOk &= lCtx.mOk;
|
||||
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue