bordemstirs
Member
Just sticking this here for anybody that wants to use it.
Haven't done much with JSON, but if you're fine with PHP then this is a handy script to make the calls and grab the return data, and it also helps to make the data easier to look at (for human eyes).
You can still use JSON, but for now it just returns the data raw.
I may or may not update this sporadically, or if there's something you'd like to see put in, go ahead and leave a comment and I'll see if I'm up to the challenge.
----
Oh! If someone can help with regex (or know a quick painless way to check) there's one thing this script needs and that's when it's checking for an end of line quote... is there an easy way to say "match a quote character preceded by an EVEN number of backslashes (including zero)"?
I'm trying to refrain from just deleting pairs of backslashes and then seeing if I have one or none left.
Haven't done much with JSON, but if you're fine with PHP then this is a handy script to make the calls and grab the return data, and it also helps to make the data easier to look at (for human eyes).
You can still use JSON, but for now it just returns the data raw.
I may or may not update this sporadically, or if there's something you'd like to see put in, go ahead and leave a comment and I'll see if I'm up to the challenge.
----
Oh! If someone can help with regex (or know a quick painless way to check) there's one thing this script needs and that's when it's checking for an end of line quote... is there an easy way to say "match a quote character preceded by an EVEN number of backslashes (including zero)"?
I'm trying to refrain from just deleting pairs of backslashes and then seeing if I have one or none left.