SIGN IN SIGN UP

wasm: Parse and write JSON unicode strings.

This adds support for both UTF-8 and UTF-16. All the JSON value
strings use internal representation of UTF-8. Unicode validation and
translation to UTF-8 is performed only at the JSON parsing time.
There's no further encoding validation at the writing time but it is
assumed all the string operations maintain the validity of UTF-8
representation.

Fixes #1885

Signed-off-by: Teemu Koponen <koponen@styra.com>
T
Teemu Koponen committed
eacecb01bc4600dbbadb5345470b89016356d4ad
Parent: d1b8394
Committed by Torin Sandall <torinsandall@gmail.com> on 4/30/2020, 12:48:17 PM