Skip to content

Ignore content in json when bracket when remove padding #124

@code4craft

Description

@code4craft

For some case, the jsonp data can have a bracket ")" in quotes, like:

callback("key","I'm so happy:)")

But the remove padding use tokenQueue.chompBalanced('(', ')'); in Jsoup, so the result will be "("key","I'm so happy:".

I will add a method chompBalancedNotInQuotes in Xsoup and fix it.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions