Expose JSON API to mods
Posted: Mon Jun 22, 2020 3:20 pm
Parts of Factorio are already using JSON. Considering how well-known the format is and the fact that some mods already have their own JSON implementation, I'd like to see a JSON serialization/deserialization API exposed for modders to use. I bet that performance-wise it is much more efficient to do it in C++ than in Lua - both creating the JSON and iterating through the Lua table/value to be serialized.
Therefore, I'd like to see a JSON API exposed for modders to use.
Therefore, I'd like to see a JSON API exposed for modders to use.