Fix "Array to string conversion" warning when prop examples are arrays
Check if value.examples[0] is iterable before concatenating into the code preview string. Use json_encode for array/object values to avoid the PHP warning.
Closes #3589910
Check if value.examples[0] is iterable before concatenating into the code preview string. Use json_encode for array/object values to avoid the PHP warning.
Closes #3589910