yaml语法

http://blog.csdn.net/mack415858775/article/details/51015662
name: Tom Smith  
age: 37  
spouse:  
    name: Jane Smith  
    age: 25  
children:  
 - name: Jimmy Smith  
   age: 15  
 - name1: Jenny Smith  
   age1: 12 

 

{'age': 37, 'spouse': {'age': 25, 'name': 'Jane Smith'}, 'name': 'Tom Smith', 'children': [{'age': 15, 'name': 'Jimmy Smith'}, {'age1': 12, 'name1': 'Jenny Smith'}]}  

 

 

 

 

 

dd

posted @ 2017-05-31 15:42  航飞冲天  阅读(174)  评论(0编辑  收藏  举报