Jun 26, 2015; 13:52
Peter D Bethke
Un-escaping urls from a JSON feed
Hi All,
LP 8.5.6
I’ve got a JSON feed that I’m importing into a Lasso site using include_url. It works fine except the urls (which are one of the fields included - its a Json feed from a wordpress site) are escaped, so the turn up looking like:
http:\/\/foo.com\/bar\/roo.png
Is there any way I can easily scrub these out? I tried:
[#incomingjsontext->(replace: '\/', '\’)]
But this errors out - because I’m guessing Lasso sees the ‘/‘ as an escape character, which eliminates the closing single quote, which causes an error.
Arrrg!
Best,
Peter
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso Lasso@lists.lassosoft.com
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>
Jun 26, 2015; 10:54
steffan
Re: Un-escaping urls from a JSON feed