Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@stuartmorgan-g
Copy link
Contributor

The JSON codec is awkward to use in the wrapper (since the client has to build and link one of the JSON libraries to do so). Since it would be very cumbersome to wrap in a C API, and there's essentially no reason to use it instead of the standard codec, this removes it from the wrapper entirely.

Since some system channels (internal to the engine) still use it, it's moved into common/cpp instead of being eliminated entirely. Internally we always use RapidJSON though, so the jsoncpp implementation is removed. Also adds some unit test coverage, since there wasn't any.

Fixes #30669

@stuartmorgan-g stuartmorgan-g merged commit 08ae3bb into flutter:master Apr 2, 2020
@stuartmorgan-g stuartmorgan-g deleted the remove-cpp-wrapper-json-codec branch April 2, 2020 21:57
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Apr 3, 2020
dnfield pushed a commit to flutter/flutter that referenced this pull request Apr 3, 2020
* 0b3f2d3 Always cache SkSL when using the Metal backend. (flutter/engine#17468)

* ff62dec Roll to clang11, mark 4 (flutter/engine#17483)

* 08ae3bb Remove JSON codec from C++ client wrapper (flutter/engine#17312)

* 2e90965 Fix bad texture view config (flutter/engine#17486)

* abc7293 [pipeline] Add trace event for lag between target and display times (flutter/engine#17384)

* Updated bin/internal/fuchsia-linux.version
goderbauer pushed a commit to goderbauer/engine that referenced this pull request Apr 16, 2020
The JSON codec is awkward to use in the wrapper (since the client has to build and link one of the JSON libraries to do so). Since it would be very cumbersome to wrap in a C API, and there's essentially no reason to use it instead of the standard codec, this removes it from the wrapper entirely.

Since some system channels (internal to the engine) still use it, it's moved into common/cpp instead of being eliminated entirely. Internally we always use RapidJSON though, so the jsoncpp implementation is removed. Also adds some unit test coverage, since there wasn't any.

Fixes flutter#30669
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants