Adam D. Ruppe Wrote: > val.object[name] = toJsonValue!(typeof(member), R)(member, formatToStringAs, api); Whoops, that should have been val.object[name] = toJsonValue(member); (I copy pasted this out of my web.d module, which can add a toString() method to the json too, so it's a little more complicated. And probably useless.)