Skip to content

Instantly share code, notes, and snippets.

Felix FelixSFD

Block or report user

Report or block FelixSFD

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View test.md

ein Zitat

Ein Code-Block

eine große Überschrift

@FelixSFD
FelixSFD / JSON_to_Map.java
Last active Apr 9, 2018
JSONObject/Array to HashMap/List
View JSON_to_Map.java
/**
* Schreibt die Inhalte eines JSONObject in eine HashMap
* @param jsonObj
* @return HashMap
* @throws JSONException
*/
public static HashMap<String, Object> jsonObjectToHashMap(JSONObject jsonObj) throws JSONException {
HashMap<String, Object> map = new HashMap<>();
Iterator keys = jsonObj.keys();
You can’t perform that action at this time.