We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 14f0230 commit 1558ea8Copy full SHA for 1558ea8
docs/03.reference/02.tags/property/_examples.md
@@ -26,12 +26,12 @@ writeOutput(jsonString); // Output: {"foo":"hello","bar":42}
26
myCfc = new component accessors="true" {
27
property name="foo" type="string";
28
property name="bar" type="numeric";
29
- property name="arr" type="numeric" default="#[1,2,3]#";
30
- property name="st" type="numeric" default="#{lucee:"rocks"}#";
+ property name="arr" type="array" default="#[1,2,3]#";
+ property name="st" type="struct" default="#{lucee:"rocks"}#";
31
foo = "hello";
32
bar = 42;
33
};
34
dump(myCfc); // See CFC object with properties
35
jsonString = serializeJson(var=myCfc, compact=false);
36
writeOutput(jsonString); // Output: {"foo":"hello","bar":42}
37
-```
+```
0 commit comments