i am getting confused on two things: to build a JS...
# lucee
s
i am getting confused on two things: to build a JSON: I am trying to build a JSON like this and i getting the arry of objects of both user_details and company_holidays, only problem is i am facing is how can i create the structure like above, i am getting both as seperate array of objects
<cfscript> a=[ { "user_details": [ "a", "b" ], "holiday_settings": [ "foo", "bar" ] } ] dump( serializeJSON( a )); </cfscript>