JsonSerializer.cfc
JsonSerializer.cfc copied to clipboard
Query serialization flag for native serialization.
Right now, the component is hard-coded to serialize queries as arrays-of-structs. However, the default serialization of queries in ColdFusion is to create a struct-of-arrays (ie, each column is an array).
I should be able to create a flag in the constructor that toggles the type of query serialization being used.