Site icon Hip-Hop Website Design and Development

Including json as params to shortcode

First apologies if this can be a silly query I can think about there may be a straightforward approach to do that however want to ask anyhow.

I’ve setup a js framework that I’m making an attempt to combine right into a WordPress plugin. At the moment if works like this.

instance("div").media({
            plugins: {
                modal : true
            },
            choices : {
                opts: 1
            }
        });

I’m not certain the right way to set this up with shortcode with out having lots of of params.

[example div="div" plugins="???" options="???"]

Cannot discover something right here https://codex.wordpress.org/Shortcode_API

Thanks