Interrogating JSON from HTTP request
Moderator: Martin
Interrogating JSON from HTTP request
Anyone have any idea how to pick out values from a JSON response from an HTTP request through Automagic or if it's even possible. If so can you post an example please.
Re: Interrogating JSON from HTTP request
There is no built in way to handle a JSON response. You could use a script with a bunch of indexOf and substring functions.
The next version will extend the matches function with an optional parameter 'groups' to get the values of the capturing groups matched by the regex.
The next version will extend the matches function with an optional parameter 'groups' to get the values of the capturing groups matched by the regex.
Re: Interrogating JSON from HTTP request
OK. Thanks for the reply. I'll have a play with it and post an example if I come up with anything useful. I'm not too hot on writing code but I'll certainly give it a go.