Although JSON resembles an object or an array, JSON is a string. The value of any JSON key can be a string, Boolean, number, null, array, or object.By using this method we can only access the object values. The Object.values() method takes the object as an argument and returns the array with given object values. Table 9-43 shows the functions that are available for processing json and jsonb values.
Note: The hstore extension has a cast from hstore to json, so that hstore values converted via the JSON creation functions will be represented as JSON objects, not as primitive string values.