</body>
</html>
运行结果如下:
type | name | property | value |
---|---|---|---|
bean | bean | this is the Bean with id: b001 | |
property | bean | id | b001 |
bean | array | [I@1421875 | |
bean | list | [listItem0, listItem1, listItem2] | |
bean | map | {key1=value1, key3=value3, key2=value2} | |
bean | nested | this is the Bean with id: b002 | |
nested(simple) property | bean | nested.id | b002 |
bean | nested.array | ||
bean | nested.list | ||
bean | nested.map | {} | |
bean | nested.nested | ||
indexed property(array) | bean | array[0] | 0 |
bean | array | 1 | |
bean | array | 2 | |
indexed property(list) | bean | list[0] | listItem0 |
bean | list | listItem1 | |
bean | list | listItem2 | |
mapped property(mapped style) | bean | map(key1) | value1 |
bean | map(key2) | value2 | |
bean | map(key3) | value3 | |
mapped property(nested style) | bean | map.key1 | value1 |
bean | map.key2 | value2 | |
bean | map.key3 | value3 |