Community discussions

MikroTik App

Search found 4 matches

by rossigee
Sat Jul 13, 2024 6:14 am
Forum: Scripting
Topic: Feature Request: native JSON parsing function [SOLVED]
Replies: 4
Views: 2265

Re: Feature Request: native JSON parsing function [SOLVED]

Brilliant! Thanks. Not sure why I didn't spot this in the docs earlier.
by rossigee
Sat Jul 13, 2024 6:11 am
Forum: Scripting
Topic: Feature Request: native Base64 decoder function [SOLVED]
Replies: 2
Views: 1963

Re: Feature Request: native Base64 decoder function [SOLVED]

That's tons better. Thanks, @Amm0!
by rossigee
Fri Jul 12, 2024 1:48 pm
Forum: Scripting
Topic: Feature Request: native Base64 decoder function [SOLVED]
Replies: 2
Views: 1963

Feature Request: native Base64 decoder function [SOLVED]

Sometimes we get an access token in a response that we need to Base64 decode before using in a subsequent request. For now, I am using these functions (fixed up for ROS7 from an older example I found out there somewhere)... ``` :global int2chr do={ :local symbolsHex {"\00";"\01";...
by rossigee
Fri Jul 12, 2024 1:35 pm
Forum: Scripting
Topic: Feature Request: native JSON parsing function [SOLVED]
Replies: 4
Views: 2265

Feature Request: native JSON parsing function [SOLVED]

Because everyone having to include huge swathes of unsupported third-party RouterOS functions to do such a common task is not a good look :)

I'm probably not the only one that would really appreciate first-class support for parsing JSON objects in RouterOS scripts.

Thanks, guys!