【发布时间】:2016-03-17 09:53:25
【问题描述】:
我的数组是这样的:
"keys": [
"first name",
"second name",
"date of birth",
"name",
"tle no",
"other details"
]
我想像这样重新排列上面的数组数据:
"keys": [
"first_name",
"second_name",
"date_of_birth",
"name",
"tle_no",
"other_details"
]
我想使用 java 代码创建它。如何创建它?
【问题讨论】:
-
我假设
date of_birth应该是date_of_birth。 -
你是怎么得到这个数组的?那不是Java数组。你的java代码在哪里?你试过什么?