blob: 85e8828d91dd90d4b3c16114b22d35faa517f3db (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#pragma once
#include "json_element.hpp"
#include <mapbox/geometry.hpp>
#include <jni/jni.hpp>
namespace mbgl {
namespace android {
namespace gson {
class JsonObject : public JsonElement {
public:
static constexpr auto Name() { return "com/google/gson/JsonObject"; };
static jni::Object<JsonObject> New(jni::JNIEnv&, const std::unordered_map<std::string, mapbox::geometry::value>&);
static mapbox::geometry::property_map convert(JNIEnv&, jni::Object<JsonObject>);
static void registerNative(jni::JNIEnv&);
};
} // namespace gson
} // namespace android
} // namespace mbgl
|