sample arrays -site:pinterest.* code example Example 1: work with arrays java new String[] { "A", "B"} Example 2: json arrays { "array": [{1,2,3,4,5,6}] }