Change NodeToString.cpp to output JSON not html #1563
Reference in New Issue
Block a user
No description provided.
Delete Branch "export-D52929268"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary: We want to be able to capture Yoga trees in production. To do this we need to serialize and deserialize the in-memory representation of a tree. We have a way to turn a tree into html using NodeToString.cpp but that outputs html, which is going to be hard to deserialize. So, I added the nlohmann json library so that we can serialize into JSON instead. Then we need to change the inner workings of NodeToString.cpp to use this library instead of its html.
Differential Revision: D52929268
The latest updates on your projects. Learn more about Vercel for Git ↗︎
This pull request was exported from Phabricator. Differential Revision: D52929268
This pull request was exported from Phabricator. Differential Revision: D52929268
This pull request was exported from Phabricator. Differential Revision: D52929268
This pull request was exported from Phabricator. Differential Revision: D52929268
This pull request was exported from Phabricator. Differential Revision: D52929268
This pull request has been merged in facebook/yoga@bb83f45872.
Pull request closed