I have json\'ed array of host, port, uri tuples encoded by 3rd party as an array of fixed length arrays:
host, port, uri
[ [\"www1.example.com\", \"443\", \"/
Consider importing the two dimensional array and then running through a loop. Then you can have a constructor on the Endpoint class that accepts each instance of internal array.