summaryrefslogtreecommitdiff
path: root/src/mbgl/style/value.hpp
blob: c5be450916239b394843ca8a47b75247c106af9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef MBGL_STYLE_VALUE
#define MBGL_STYLE_VALUE

#include <mapbox/variant.hpp>
#include <mbgl/util/rapidjson.hpp>

#include <cstdlib>
#include <cerrno>

namespace mbgl {

typedef mapbox::util::variant<bool, int64_t, uint64_t, double, std::string> Value;

std::string toString(const Value &value);

Value parseValue(const JSValue&);

} // namespace mbgl

#endif