M MathiasM Active Member Licensed User Feb 7, 2019 #1 Hello I try to put a URL in a json file. But the slashes makes my URLs invalid. First I tried this: B4X: claimMap.Put("scope", "https://www.googleapis.com/admin/directory") But the result when logging is: "scope": "https:\/\/www.googleapis.com\/admin\/directory", So I thought, hey, I should use $ signs for smart strings. So I tried that, but no avail. How can I fix this? Thanks!
Hello I try to put a URL in a json file. But the slashes makes my URLs invalid. First I tried this: B4X: claimMap.Put("scope", "https://www.googleapis.com/admin/directory") But the result when logging is: "scope": "https:\/\/www.googleapis.com\/admin\/directory", So I thought, hey, I should use $ signs for smart strings. So I tried that, but no avail. How can I fix this? Thanks!
Erel B4X founder Staff member Licensed User Longtime User Feb 7, 2019 #2 This is a valid json output. You don't need to modify it. Upvote 0