mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-02 04:04:19 +00:00
This adds an optional argument to generated getters for string fields to specify the encoding type and overloads the createString() function. It's now possible to use either JavaScript UTF-16 string objects or C-style UTF-8 byte arrays (Uint8Array) for string data.
20 lines
443 B
JSON
20 lines
443 B
JSON
{
|
|
"name": "unicode_test",
|
|
"testarrayoftables": [
|
|
{ "name": "Цлїςσδε" },
|
|
{ "name": "フムアムカモケモ" },
|
|
{ "name": "フムヤムカモケモ" },
|
|
{ "name": "㊀㊁㊂㊃㊄" },
|
|
{ "name": "☳☶☲" },
|
|
{ "name": "𡇙𝌆" }
|
|
],
|
|
"testarrayofstring": [
|
|
"Цлїςσδε",
|
|
"フムアムカモケモ",
|
|
"フムヤムカモケモ",
|
|
"㊀㊁㊂㊃㊄",
|
|
"☳☶☲",
|
|
"𡇙𝌆"
|
|
]
|
|
}
|