#pragma once #include #include #include namespace mbgl { namespace android { namespace gson { class JsonElement : private mbgl::util::noncopyable { public: static constexpr auto Name() { return "com/google/gson/JsonElement"; }; static mapbox::geometry::value convert(JNIEnv&, jni::Object); static bool isJsonObject(JNIEnv&, jni::Object); static bool isJsonArray(JNIEnv&, jni::Object); static bool isJsonPrimitive(JNIEnv&, jni::Object); static bool isJsonNull(JNIEnv&, jni::Object); static jni::Class javaClass; static void registerNative(jni::JNIEnv&); }; } // namespace gson } // namespace android } // namespace mbgl