Vladimir Glavnyy 83ce29cc22 [C++, JSON] Fix nullptr access when reading a key with a default value. (#6375)
This commit fixes handling of default and NULL `key` fields in `Parser::ParseVector` (#5928).

The JSON generator updated. It outputs `key` fields even if the `--force-defaults` option is inactive.

Additional test cases for `key` added.
2021-01-07 11:24:59 -08:00
2021-01-05 10:06:33 -08:00
2020-12-11 10:46:10 -08:00
2019-11-14 15:46:46 -08:00
2021-01-04 06:18:35 -08:00
2021-01-04 14:11:59 -08:00
2020-12-11 10:46:10 -08:00
2020-03-16 11:33:42 -07:00

logo FlatBuffers

Build Status Build status Join the chat at https://gitter.im/google/flatbuffers Discord Chat 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.

Licensing

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


S
Description
FlatBuffers: Memory Efficient Serialization Library
Readme Apache-2.0 73 MiB
Languages
C++ 37.7%
Rust 13.5%
Swift 7.7%
Python 6.9%
C# 5.6%
Other 28.5%