MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / fxStringifyJSONUnicodeEscape

Function fxStringifyJSONUnicodeEscape

xs/sources/xsJSON.c:1183–1191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1181}
1182
1183void fxStringifyJSONUnicodeEscape(txMachine* the, txJSONStringifier* theStringifier, txInteger character)
1184{
1185 char buffer[16];
1186 txString p = buffer;
1187 *p++ = '\\';
1188 *p++ = 'u';
1189 p = fxStringifyUnicodeEscape(p, character, '\\');
1190 fxStringifyJSONChars(the, theStringifier, buffer, mxPtrDiff(p - buffer));
1191}
1192
1193txSlot* fxToJSONKeys(txMachine* the, txSlot* reference)
1194{

Callers 1

fxStringifyJSONStringFunction · 0.85

Calls 2

fxStringifyUnicodeEscapeFunction · 0.85
fxStringifyJSONCharsFunction · 0.85

Tested by

no test coverage detected