Hello,
I have a made a utility method that will need to utilize the this.serialize.serializeQueryAs default that looks like the following:
I’m thinking I am missing something very simple here that I am overlooking.
component name=‘utility’ output=false singleton {
public function tableMetaData() {
required string tableName
string jsonType = application.serialize.serializeQueryAs
) {
[code here]
}
}
In ColdBox’s application.cfc, my test code is as follows:
this.serialize.serializeQueryAs = ‘row’;
application.serialize.serializeQueryAs = this.serialize.serializeQueryAs;
I have fwreinit=1 (no password enabled) and I also tested that application.cfc is being read.
However, the method says that serialize.serializeQueryAs does not exist in application.
What am I missing?
Thank you,
Ryan Hinton