您现在的位置是:首页 > 正文

Android kotlin:json自动生成bean

2024-01-31 00:18:51阅读 0

JsonToKotlinClass插件确认安好了之后:

 

1.   取得json字符串

 

{
		"memo_id": 351,
		"items": [{
			"language": "en",
			"title": "pdf image test",
			"content": "pdf再アップ10/23",
			"file_id": 30,
			"file_name": "pdf画像テスト.pdf",
			"file_size": 9088
		}, {
			"language": "en",
			"title": "pdf image test",
			"content": "pdf再アップ10/23",
			"file_id": 30,
			"file_name": "pdf画像テスト.pdf",
			"file_size": 9088
		}],
		"modified_by": "ktc100000",
		"start_date": "2019-10-21T00:00:00+09:00",
		"type": 1,
		"is_editable": false,
		"open_ranges": {
			"private": {
				"selected": false
			},
			"role": {
				"selected": false,
				"roles": null
			},
			"group": {
				"selected&#

网站文章