Wouter van Oortmerssen
8f864aad7b
Added (nested) FlexBuffer JSON parsing and output.
...
FlexBuffer parser is just 40 lines of code (on top of existing parser!).
Change-Id: Idebebadafb661ca5333f5621139031f6df3c3e1a
Tested: on Linux.
2017-06-12 16:40:47 -07:00
AntonYudintsev
43611fcc0b
refactor flatbuffers.h and util.h so FlexBuffers do not depend on flatbuffers.h ( #4331 )
...
FlexBuffers are actually completely unrelated to FlatBuffers and can be used separately.
However, since they utilize several utility functions from flatbuffer.h, they require this header file, which creates unreasonable dependency.
By moving those utility functions to separate base header, both libraries can use same code but still be independent
2017-06-02 10:26:11 -07:00
Wouter van Oortmerssen
e93a5652d0
Fixes for VS 2015 build.
...
Change-Id: I23280e611163a89b8eba7b9b0016c297fea2396e
2017-04-24 10:48:35 -07:00
Wouter van Oortmerssen
340d1a3447
Fix FlexBuffers writing incomplete length for 64-bit vectors.
2017-04-19 17:51:52 -07:00
Jun Hyeon, Nam
9c25ecdcd1
C++: add String::str() function ( #4234 )
...
for convenience
2017-03-18 10:09:56 -07:00
Jun Hyeon, Nam
1beed12e59
fixed duplicate symbol error in flexbuffers.h ( #4233 )
...
1. modified the function that omitted inline.
2. changed the static global functions to inline functions.
2017-03-18 10:08:39 -07:00
chronoxor
f5387387de
Pedantic Visual Studio build (/W4 /WX) ( #4214 )
...
* Pedantic Visual Studio build (/W4 /WX)
* Pedantic Visual Studio build (/W4 /WX)
* Pedantic Visual Studio build (/W4 /WX)
* Remove /wd4512 from CMakeLists.txt
* Suppress Visual Studio 4512 warning ('class' : assignment operator could not be generated)
2017-03-10 10:27:30 -08:00
Zarian Waheed
ac106e835c
Fixing broken link and added missing <map> header include. ( #4199 )
2017-03-03 09:47:52 -08:00
Wouter van Oortmerssen
a6d98fb067
Fixed VS x64 warnings in flexbuffers.h
2017-02-15 17:41:00 -08:00
Wouter van Oortmerssen
2d6e8f096b
Fixed sorting assertion with some std::sort implementations.
...
Change-Id: Idd925c9cc5cd2a35e06f4d832734180f5c38378e
Tested: on Linux.
2017-02-13 09:50:35 -08:00
Wouter van Oortmerssen
a9514de978
Fixed vector test on Windows
2017-02-08 15:59:52 -08:00
Wouter van Oortmerssen
c57ab92e60
Fixes for Windows compiler errors.
...
Change-Id: I909ea6866089f36f9cb79d435bbecd29623fd8f7
2017-02-08 15:38:18 -08:00
Wouter van Oortmerssen
aac6be1153
First attempt at SchemaLess FlatBuffers.
...
Change-Id: I86b9d002f3441ef9efdb70e059b8530ab2d74bb8
Tested: on Linux.
2017-02-08 15:13:56 -08:00