public function populateField(DataObject $object, $name, $value)
    {
        // Detect Value Type:
        
        if (is_array($value) && $object->hasField($name)) {
            
            // Handle Array Value:
            
            if ($object->dbObject($name) instanceof DBComposite) {
                
                // Handle Composite Field:
                
                foreach ($value as $k => $v) {
                    $object->dbObject($name)->setField($k, $this->processValue($v));
                }
                
            } else {
                
                // Handle Regular Field (JSON-encode):
                
                $object->setField($name, $this->processArray($value, true));
                
            }
            
        } else {
            
            // Handle Regular Value:
            
            $object->setField($name, $this->processValue($value));
            
        }
    }