I use SBJsonStreamParser(class of SBJson) to parse JSON.now I want to know how to cancel parsing of the class when the class is parsing at runtime.I couldn't find such API.someone please help me !!

有帮助吗?

解决方案

I'm afraid there is no such API at the moment. If you need it, I suggest raising an issue in the issue tracker. You are also free to implement it yourself, and send a pull request. I will accept the patch if it's any good.

Disclaimer: I am SBJson's author.

Update: just to let you know, SBJson 4 (released December 2013) supports cancelling.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top