Package dev.iahmadgad.json
Class JSONParser
java.lang.Object
dev.iahmadgad.json.JSONParser
JSONParser Class.
- Since:
- 0.3
-
Constructor Summary
ModifierConstructorDescriptionprotected
JSONParser
(File file) Constructor that parses the node from a file.protected
JSONParser
(String text) Constructor that parses the node from a text. -
Method Summary
Modifier and TypeMethodDescriptionReturns the main JSONArray node.Returns the main JSONObject node.
-
Constructor Details
-
JSONParser
Constructor that parses the node from a text.- Parameters:
text
-- See Also:
-
JSONParser
Constructor that parses the node from a file.- Parameters:
file
-- See Also:
-
-
Method Details
-
getHashMap
Returns the main JSONObject node.- Returns:
- the main JSONObject node
-
getArrayList
Returns the main JSONArray node.- Returns:
- the main JSONArray node.
-