mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Get rid of jackson (mostly)
Reviewed By: astreet Differential Revision: D3041362 fb-gh-sync-id: a7027a08a63730b98dc766b86921820fa3624953 shipit-source-id: a7027a08a63730b98dc766b86921820fa3624953
This commit is contained in:
committed by
Facebook Github Bot 8
parent
14555063bb
commit
d329570ac8
@@ -12,8 +12,6 @@ package com.facebook.react.bridge;
|
||||
import java.io.IOException;
|
||||
import java.util.Map;
|
||||
|
||||
import com.fasterxml.jackson.core.JsonGenerator;
|
||||
|
||||
/**
|
||||
* A native module whose API can be provided to JS catalyst instances. {@link NativeModule}s whose
|
||||
* implementation is written in Java should extend {@link BaseJavaModule} or {@link
|
||||
@@ -42,7 +40,7 @@ public interface NativeModule {
|
||||
* Append a field which represents the constants this module exports
|
||||
* to JS. If no constants are exported this should do nothing.
|
||||
*/
|
||||
void writeConstantsField(JsonGenerator jg, String fieldName) throws IOException;
|
||||
void writeConstantsField(JsonWriter writer, String fieldName) throws IOException;
|
||||
|
||||
/**
|
||||
* This is called at the end of {@link CatalystApplicationFragment#createCatalystInstance()}
|
||||
|
||||
Reference in New Issue
Block a user