iterate the JSON API for more effeiciency.
attention for doc