-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
Description
I need to post a string which contains a number:
<a href="javascript:window.bridge.post('action', {'id': '123'})">SOME_TEXT</a>
I send "123" as string and want to parse it as string with Swift. Instead I get 123 (number).
The problem is every json param of string type may contain digits only and so I should parse each element as both string and int manually. How to fix this issue?
P.S. the most interesting issue is '123' could be returned as String also - if you have assigned it to the tag as attribute value.
Reactions are currently unavailable