DataDefinitionRuleParameterUtil { public static Map<String, Object> toDataDefinitionRuleParameters( JSONObject jsonObject) { Map<String, Object> dataDefinitionRuleParameters = new HashMap<>(); Iterator<String> iterator = jsonObject.keys(); while (iterator.hasNext()) { String parameterKey = iterator.next(); dataDefinitionRuleParameters.put( parameterKey, jsonObject.get(parameterKey)); } return dataDefinitionRuleParameters; }  static Map<String, Object> toDataDefinitionRuleParameters(
		JSONObject jsonObject); static JSONObject toJSONObject(
		Map<String, Object> dataDefinitionRuleParameters);  }
@Test public void testToDataDefinitionRuleParameters() throws JSONException { Assert.assertEquals( HashMapBuilder.<String, Object>put( "en_US", "value" ).build(), DataDefinitionRuleParameterUtil.toDataDefinitionRuleParameters( JSONUtil.put("en_US", "value"))); }