structKeyTranslate

Converts structure key/value pairs where the key contains a period (.) into nested structures key / value pairs

structKeyTranslate(structure [, deepTranslation] [, leaveOriginalKey]) → returns numeric

Member Function Syntax

structure.keyTranslate([deepTranslation] [, leaveOriginalKey])

This function requires Lucee.  Not supported on Adobe ColdFusion, etc.

structKeyTranslate Argument Reference

structure struct
Required

deepTranslation boolean

leaveOriginalKey boolean

Examples
Sample code invoking the structKeyTranslate function


Fork me on GitHub