fryette / webview_cookie_manager

MIT License
48 stars 52 forks source link

How to set a json string as a cookie? #63

Open BijeshNair opened 1 year ago

BijeshNair commented 1 year ago

How can we set a json string as a cookie. When attempted to do so it throws an error saying

Exception: FormatException: Invalid character in cookie value, code unit: '34' (at character 2)
{"someKey":"someValue"}
 ^

So it's not liking " in it's value