How do I set a variable JSON parameter [JavaScript question]

Like this:

“:fullname”: strFullName,

where strFullName is the var.