Implement footpath JSON reading

This commit is contained in:
Ted John authored and Gymnasiast committed 2018-03-26 21:35:44 +02:00
1 parent 27a055653c
commit d27a90f068
5 files changed
+52 -2

No files matched your search

@@ -28,6 +28,13 @@ using namespace OpenRCT2;
namespace ObjectJsonHelpers
{
std::string GetString(const json_t * value)
{
return json_is_string(value) ?
std::string(json_string_value(value)) :
std::string();
}
std::vector<std::string> GetJsonStringArray(const json_t * arr)
{
std::vector<std::string> result;