I have an object:
var mubsisapi = { step1 : function(){alert(\"a\")}, step2 : function(){alert(\"b\")} } $.extend(false, mubsisapi)
Not JSON, but javascript object. It's not fluent, but it can be:
var mubsisapi = { step1 : function(){alert("a"); return this;}, step2 : function(){alert("b"); return this;} } $.extend(false, mubsisapi) mubsisapi.step1().step2();