Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
25 lines
544 B
C++
25 lines
544 B
C++
#pragma once
|
|
|
|
#include <mbgl/util/feature.hpp>
|
|
|
|
#include <jni/jni.hpp>
|
|
|
|
namespace mbgl {
|
|
namespace android {
|
|
namespace gson {
|
|
|
|
class JsonElement {
|
|
public:
|
|
using SuperTag = jni::ObjectTag;
|
|
static constexpr auto Name() { return "com/google/gson/JsonElement"; };
|
|
|
|
static jni::Local<jni::Object<JsonElement>> New(jni::JNIEnv&, const mbgl::Value&);
|
|
static mbgl::Value convert(JNIEnv&, const jni::Object<JsonElement>&);
|
|
|
|
static void registerNative(jni::JNIEnv&);
|
|
};
|
|
|
|
} // namespace gson
|
|
} // namespace android
|
|
} // namespace mbgl
|