딕셔너리 리스트

(Dictionary list에서 넘어옴)
dictionary list
딕셔너리 리스트
list of dictionaries

1 JavaScript[ | ]

var members = [
	{id: 102, name: "Ashley Allen", address: "Seoul"},
	{id: 202, name: "Peter Parker", address: "New York"},
	{id: 104, name: "John Smith", address: "Tokyo"},
];
console.log( members );

2 PHP[ | ]

$members = [
	['id'=>102, 'name'=>'Ashley Allen', 'address'=>'Seoul'],
	['id'=>202, 'name'=>'Peter Parker', 'address'=>'New York'],
	['id'=>104, 'name'=>'John Smith', 'address'=>'Tokyo'],
];
print_r( $members );

3 Python[ | ]

members = [
    {'id': 102, 'name': "Ashley Allen", 'address': "Seoul"},
    {'id': 202, 'name': "Peter Parker", 'address': "New York"},
    {'id': 104, 'name': "John Smith", 'address': "Tokyo"},
]
print(members)

4 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}