mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Remove LegacyArchitecture deprecation from JSONArguments (#52570)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/52570 JSONArguments is a set of utility methods that are not part of the legacy architecture, removing the annotation. Changelog: [Internal] Reviewed By: cortinico Differential Revision: D78168536 fbshipit-source-id: 25fcc41441df6c71f9a96ec0ba82c42e8f6af80c
This commit is contained in:
1 parent
77db9343b1
commit
8083cb4ab1
1 file changed
-10
-10
@@ -7,21 +7,11 @@
|
||||
|
||||
package com.facebook.react.bridge
|
||||
|
||||
import com.facebook.react.common.annotations.internal.LegacyArchitecture
|
||||
import com.facebook.react.common.annotations.internal.LegacyArchitectureLogLevel
|
||||
import com.facebook.react.common.annotations.internal.LegacyArchitectureLogger
|
||||
import org.json.JSONArray
|
||||
import org.json.JSONException
|
||||
import org.json.JSONObject
|
||||
|
||||
@LegacyArchitecture(logLevel = LegacyArchitectureLogLevel.ERROR)
|
||||
public object JSONArguments {
|
||||
|
||||
init {
|
||||
LegacyArchitectureLogger.assertLegacyArchitecture(
|
||||
"JSONArguments", LegacyArchitectureLogLevel.ERROR)
|
||||
}
|
||||
|
||||
/**
|
||||
* Parse JSONObject to ReadableMap
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user