json: Optimize writing a bit.
This improves the responsiveness of certain APIs.
This commit is contained in:
parent
ccea863f00
commit
fc8ad3b47b
7 changed files with 121 additions and 91 deletions
|
@ -34,7 +34,7 @@ struct GameStatusEvent {
|
|||
j.writeString("title", g_paramSFO.GetValueString("TITLE"));
|
||||
j.pop();
|
||||
} else {
|
||||
j.writeRaw("game", "null");
|
||||
j.writeNull("game");
|
||||
}
|
||||
j.end();
|
||||
return j.str();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue