English 中文(简体)
JSON.simple - JAVA Mapping
  • 时间:2024-12-22

JSON.simple - JAVA Mapping


Previous Page Next Page  

JSON.simple maps entities from the left side to the right side while decoding or parsing, and maps entities from the right to the left while encoding.

JSON Java
string java.lang.String
number java.lang.Number
true|false java.lang.Boolean
null null
array java.util.List
object java.util.Map

On decoding, the default concrete class of java.util.List is org.json.simple.JSONArray and the default concrete class of java.util.Map is org.json.simple.JSONObject.

Advertisements