There are times when data is sent up inside a js file. It is tricky to get this data out of there with just a regex replace & json parser. Suggesting a command like so:
EVAL 'some_data_object.data'
where value is evaled and then the code supplied is executed and the resulting value is JSON.stringified. Alternatively we could create a PARSE 'some_data_object.data' FORMAT='js' which would function largely in the same way
There are times when data is sent up inside a js file. It is tricky to get this data out of there with just a regex replace & json parser. Suggesting a command like so:
where
value
is evaled and then the code supplied is executed and the resulting value is JSON.stringified. Alternatively we could create aPARSE 'some_data_object.data' FORMAT='js'
which would function largely in the same way