Skip to content

Commit 04ae15d

Browse files
cortinicofacebook-github-bot
authored andcommitted
Remove the com.facebook.react.bridge.JSONArguments class (#52901)
Summary: Pull Request resolved: #52901 I'm removing this class as we should not expose it publicly. It's not used at all inside react-native and can potentally be moved internally. The only usage I've found in OSS is patched with this PR: - fabOnReact/react-native-wear-connectivity#46 Changelog: [Android] [Removed] - Remove the `com.facebook.react.bridge.JSONArguments` class Reviewed By: javache, mdvacca Differential Revision: D78265165 fbshipit-source-id: 704575e7b9cfd6d40980511d6064d39991b3eb48
1 parent ec5a98b commit 04ae15d

File tree

2 files changed

+0
-113
lines changed

2 files changed

+0
-113
lines changed

packages/react-native/ReactAndroid/api/ReactAndroid.api

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -816,14 +816,6 @@ public abstract interface class com/facebook/react/bridge/JSInstance {
816816
public abstract fun invokeCallback (ILcom/facebook/react/bridge/NativeArrayInterface;)V
817817
}
818818

819-
public final class com/facebook/react/bridge/JSONArguments {
820-
public static final field INSTANCE Lcom/facebook/react/bridge/JSONArguments;
821-
public static final fun fromJSONArray (Lorg/json/JSONArray;)Lcom/facebook/react/bridge/ReadableArray;
822-
public static final fun fromJSONArrayString (Ljava/lang/String;)Lcom/facebook/react/bridge/ReadableArray;
823-
public static final fun fromJSONObject (Lorg/json/JSONObject;)Lcom/facebook/react/bridge/ReadableMap;
824-
public static final fun fromJSONObjectString (Ljava/lang/String;)Lcom/facebook/react/bridge/ReadableMap;
825-
}
826-
827819
public final class com/facebook/react/bridge/JavaOnlyArray : com/facebook/react/bridge/ReadableArray, com/facebook/react/bridge/WritableArray {
828820
public static final field Companion Lcom/facebook/react/bridge/JavaOnlyArray$Companion;
829821
public fun <init> ()V

packages/react-native/ReactAndroid/src/main/java/com/facebook/react/bridge/JSONArguments.kt

Lines changed: 0 additions & 105 deletions
This file was deleted.

0 commit comments

Comments
 (0)