Is this a function?

A project I have been working on lately uses SWObject and when making some changes to this I located a line that caught me off guard…


What exactly is this? Is it a function? Object? It doesn’t end right as far as I can see because if it’s a function, it should end with a curly brace–as it did–but the thing is that it appears to be using contents of a normal function as if it were the parameters. What’s up with this? :confused:

} at the end of code doesn’t have matching {, so you must have missed some code.

Its a usual call to function “U”, first 2 parameters are objects. Those objects are similar to associative arrays, google for “JSON” to understand how those objects work.