mirror of https://github.com/vee1e/flatbuffers - FlatBuffers: Memory Efficient Serialization Library
Find a file
tira-misu 2ad408697f
[TS] Fix generation of struct members in object api (#7148)
* Fix C/C++ Create<Type>Direct with sorted vectors

If a struct has a key the vector has to be sorted. To sort the vector
you can't use "const".

* Changes due to code review

* Improve code readability

* Add generate of JSON schema to string to lib

* option indent_step is supported

* Remove unused variables

* Fix break in test

* Fix style to be consistent with rest of the code

* [TS] Fix reserved words as arguments (#6955)

* [TS] Fix generation of reserved words in object api (#7106)

* [TS] Fix generation of object api

* [TS] Fix MakeCamel -> ConvertCase

* [TS] Add test for struct of struct of struct

* Update generated files

* Add missing files

* [TS] Fix query of null/undefined fields in object api
2022-03-23 21:40:11 -07:00
.bazelci Remove ubuntu1604 from presubmit.yml (#6715) 2021-07-09 09:59:30 -07:00
.github Trigger fuzzing CI only on relevant changes (#7120) 2022-02-21 23:44:04 -06:00
.travis Ran clang-format-all.sh. Removed default --style=file parameter (#6639) 2021-05-15 12:54:08 -07:00
android replaced removed xml tag 2022-02-02 15:15:50 -08:00
bazel [grpc] Support latest version of grpc PoC (#6338) 2021-03-25 12:12:35 -07:00
benchmarks Vector Downward GetSize optimization (#6925) 2021-11-22 19:50:42 -08:00
CMake Use DESCRIPTION only if CMake version >= 3.9 (#7166) 2022-03-13 12:49:18 -07:00
conan attempt to remove appveyor (#7056) 2022-01-31 21:52:15 -08:00
dart Correctly parse lists of enums in Dart generated code (#7157) 2022-03-22 21:56:14 -07:00
docs Fix minor typo in WhitePaper.md (#7108) 2022-02-18 21:29:21 -08:00
go GetUOffsetT must get value by GetUint32 not GetInt32 (#6072) 2021-02-18 18:38:25 -08:00
grpc Replaced ToDasherCase with ConvertCase (#7131) 2022-02-23 22:31:40 -06:00
include/flatbuffers VerifySizePrefixed (reflection::Schema) and GetAnySizePrefixedRoot added (#7181) 2022-03-23 21:39:38 -07:00
java/com/google/flatbuffers removed BSD-3-Clause license and Zlib licenses (#7073) 2022-02-02 13:12:01 -08:00
js [JS/TS] Rewrite flexbuffers JS to TS (#6148) 2020-10-19 13:11:35 -07:00
kotlin Updated main version numbers to 2.0 2021-05-10 11:14:47 -07:00
lobster [Lobster] file_identifier support 2022-03-08 15:39:12 -08:00
lua [Lua] manipulate byte array as string (#6624) 2021-05-07 22:57:13 -07:00
mjs
net/FlatBuffers add xmlns to .Net (#7066) 2022-02-01 20:57:13 -08:00
php
python Add reflection support for python (#7026) 2022-02-10 11:10:47 -08:00
reflection Move flatbuffer_ts_library to typescript.bzl (#7183) 2022-03-22 21:41:39 -07:00
rust [Rust] Add length checks to arrays and vectors. (#7130) 2022-02-24 13:49:59 -05:00
samples [Lobster] file_identifier support 2022-03-08 15:39:12 -08:00
scripts Adds no-includes flags to the swift code generator (#7182) 2022-03-22 21:42:20 -07:00
snap use improved versioning (#6691) 2021-06-11 15:27:59 -07:00
src [TS] Fix generation of struct members in object api (#7148) 2022-03-23 21:40:11 -07:00
swift Swift FlatBufferBuilder.sizedByteArray to ByteBuffer.toArray() (#7093) 2022-02-11 13:26:16 -08:00
tests [TS] Fix generation of struct members in object api (#7148) 2022-03-23 21:40:11 -07:00
ts [TS] Add single-file ts codegen & bazel rule for typescript (#7161) 2022-03-10 10:08:13 -08:00
.clang-format
.editorconfig
.eslintrc.js
.gitattributes
.gitignore Added Google benchmarks (and gtests) (#6920) 2021-11-15 13:41:22 -08:00
.travis.yml Removed test/generate_code.{sh|bat} (#6873) 2021-11-30 23:13:24 -08:00
BUILD.bazel [TS] Add single-file ts codegen & bazel rule for typescript (#7161) 2022-03-10 10:08:13 -08:00
build_defs.bzl Move flatbuffer_ts_library to typescript.bzl (#7183) 2022-03-22 21:41:39 -07:00
CMakeLists.txt Annotated Flatbuffer Binary (#7174) 2022-03-18 14:08:05 -07:00
composer.json
conanfile.py
CONTRIBUTING.md
Formatters.md Ran clang-format-all.sh. Removed default --style=file parameter (#6639) 2021-05-15 12:54:08 -07:00
LICENSE.txt
package.json [TS] Add single-file ts codegen & bazel rule for typescript (#7161) 2022-03-10 10:08:13 -08:00
pom.xml update Java version to 2.0.3 2021-08-14 09:01:54 -07:00
readme.md attempt to remove appveyor (#7056) 2022-01-31 21:52:15 -08:00
SECURITY.md Create Security.md 2021-05-19 11:55:50 -07:00
swift.swiftformat Improves documentation, and adding DocC (#6784) 2021-09-27 20:59:19 +02:00
tsconfig.json [JS/TS] Rewrite flexbuffers JS to TS (#6148) 2020-10-19 13:11:35 -07:00
tsconfig.mjs.json [JS/TS] Rewrite flexbuffers JS to TS (#6148) 2020-10-19 13:11:35 -07:00
typescript.bzl Move flatbuffer_ts_library to typescript.bzl (#7183) 2022-03-22 21:41:39 -07:00
WORKSPACE [TS] Add single-file ts codegen & bazel rule for typescript (#7161) 2022-03-10 10:08:13 -08:00
yarn.lock [TS] Add single-file ts codegen & bazel rule for typescript (#7161) 2022-03-10 10:08:13 -08:00

logo FlatBuffers

Build status Join the chat at https://gitter.im/google/flatbuffers Discord Chat Twitter Follow Twitter Follow

FlatBuffers is a cross platform serialization library architected for maximum memory efficiency. It allows you to directly access serialized data without parsing/unpacking it first, while still having great forwards/backwards compatibility.

Go to our landing page to browse our documentation.

Supported operating systems

  • Windows
  • MacOS X
  • Linux
  • Android
  • And any others with a recent C++ compiler.

Supported programming languages

  • C++
  • C#
  • C
  • Dart
  • Go
  • Java
  • JavaScript
  • Lobster
  • Lua
  • PHP
  • Python
  • Rust
  • TypeScript

and more in progress...

Contribution

To contribute to this project, see CONTRIBUTING.

Security

Please see our Security Policy for reporting vulnerabilities.

Licensing

Flatbuffers is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.