passing parameter to a plugin as js object

Hi there,

I am trying to create a plugin for my servoy application.

I want to pass parameter to plugin’s method as javascript object as follows:

var paramObj = {“title”:“mytest title”, “param2”:“my param 2”}; (and so on)

How can I read this javascript object within a java method?

The advantage of passing param as javascript object is I can name the parameters so it is more clear.

Can I read the javascript object using its property name (for ex: title)

I have no idea how to read the javascript object inside java and accessing it by its property name.

Please help!!

Thanks a lot.