JSFiddle - React, Tailwind, and code Playground

by guest271314

HTML

<script src="https://rawgit.com/dadario/jquery-bbq/master/jquery.ba-bbq.min.js"></script>

JavaScript

$(function() {

var myObject = {
  a: {
    one: 1,
    two: 2,
    three: 3
  },
  b: [ 1, 2, 3 ]
};
    
var p = decodeURIComponent( $.param( myObject ));
var d = $.deparam( p );
  console.log( p, d );
})