You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 16, 2019. It is now read-only.
wkh237 edited this page Oct 12, 2016
·
6 revisions
This feature is now only available in beta release
After 0.10.0, our library supports JSON stream, it's a wrapper of Oboe which created by @jimhigson. Generally you can create a JSON stream from a file or HTTP(S) address.
Usage
constJSONStream=RNFetchBlob.JSONStream// from remote JSON JSONStream('http://example.com/large-json.json').node('*',()=>{/* handle node */}).fail((err)=>{/* handling error */})// from file systemJSONStream(RNFetchBlob.wrap('/path/to/a/json/file.json')).node('*',()=>{/* handle node */}).fail((err)=>{/* handling error */})