SerializeJSON(EntityLoad("Test")) will output:
Column Name is missing from the result JSON string.
While SerializeJSON(QueryExecute("select * from Table")) will output:
It bugs me when building UI one has to write extra code to detect the existence of the key.
The inconsistency should be fixed.
Lucee 220.127.116.11(Mac OS X 10.12.6)
I've added test case for this ticket & confirmed the issue happened on latest version of lucee 18.104.22.168 snapshot. SerializeJSON() doesn't Serialize the ORMkey having NULL values.
Pull Request: https://github.com/lucee/Lucee/pull/331
I wouldn't call this a "Minor" bug...
I agree with Christian. The consistency issue should be addressed soon.