how to get value from json array of object in javascript example Example: json arrays { "array": [{1,2,3,4,5,6}] }