Created
February 7, 2013 22:10
-
-
Save tvpmb/4734703 to your computer and use it in GitHub Desktop.
JSON Array with List of US States with 2-char ISO codes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{"name":"Alabama","alpha-2":"AL"}, | |
{"name":"Alaska","alpha-2":"AK"}, | |
{"name":"Arizona","alpha-2":"AZ"}, | |
{"name":"Arkansas","alpha-2":"AR"}, | |
{"name":"California","alpha-2":"CA"}, | |
{"name":"Colorado","alpha-2":"CO"}, | |
{"name":"Connecticut","alpha-2":"CT"}, | |
{"name":"Delaware","alpha-2":"DE"}, | |
{"name":"District of Columbia","alpha-2":"DC"}, | |
{"name":"Florida","alpha-2":"FL"}, | |
{"name":"Georgia","alpha-2":"GA"}, | |
{"name":"Hawaii","alpha-2":"HI"}, | |
{"name":"Idaho","alpha-2":"ID"}, | |
{"name":"Illinois","alpha-2":"IL"}, | |
{"name":"Indiana","alpha-2":"IN"}, | |
{"name":"Iowa","alpha-2":"IA"}, | |
{"name":"Kansa","alpha-2":"KS"}, | |
{"name":"Kentucky","alpha-2":"KY"}, | |
{"name":"Lousiana","alpha-2":"LA"}, | |
{"name":"Maine","alpha-2":"ME"}, | |
{"name":"Maryland","alpha-2":"MD"}, | |
{"name":"Massachusetts","alpha-2":"MA"}, | |
{"name":"Michigan","alpha-2":"MI"}, | |
{"name":"Minnesota","alpha-2":"MN"}, | |
{"name":"Mississippi","alpha-2":"MS"}, | |
{"name":"Missouri","alpha-2":"MO"}, | |
{"name":"Montana","alpha-2":"MT"}, | |
{"name":"Nebraska","alpha-2":"NE"}, | |
{"name":"Nevada","alpha-2":"NV"}, | |
{"name":"New Hampshire","alpha-2":"NH"}, | |
{"name":"New Jersey","alpha-2":"NJ"}, | |
{"name":"New Mexico","alpha-2":"NM"}, | |
{"name":"New York","alpha-2":"NY"}, | |
{"name":"North Carolina","alpha-2":"NC"}, | |
{"name":"North Dakota","alpha-2":"ND"}, | |
{"name":"Ohio","alpha-2":"OH"}, | |
{"name":"Oklahoma","alpha-2":"OK"}, | |
{"name":"Oregon","alpha-2":"OR"}, | |
{"name":"Pennsylvania","alpha-2":"PA"}, | |
{"name":"Rhode Island","alpha-2":"RI"}, | |
{"name":"South Carolina","alpha-2":"SC"}, | |
{"name":"South Dakota","alpha-2":"SD"}, | |
{"name":"Tennessee","alpha-2":"TN"}, | |
{"name":"Texas","alpha-2":"TX"}, | |
{"name":"Utah","alpha-2":"UT"}, | |
{"name":"Vermont","alpha-2":"VT"}, | |
{"name":"Virginia","alpha-2":"VA"}, | |
{"name":"Washington","alpha-2":"WA"}, | |
{"name":"West Virginia","alpha-2":"WV"}, | |
{"name":"Wisconsin","alpha-2":"WI"}, | |
{"name":"Wyoming","alpha-2":"WY"} | |
] |
I started a similar project, which has all states along with a beautiful photo of each state. Heres my repo if anybody is interested in using or forking it:
https://github.com/tannerjt/state_images.json
Hi, this is very useful. and i have an one doubt, is it possible for state code for all the states?
There are two typos: "Lousiana" should be "Louisiana", and "Kansa" should be "Kansas"
Yay
Perfect!
should be "Louisiana", and "Kansa" should be "Kansas"
Wish I would have read the comments before trying to consume this!
But yes typos as dennishall1 & ghost have explained above with Kansas and Louisiana
Error: District of Columbia is not state!
There are currently 50 states!
thanks :)
This is genius time saving code.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You rock!