Interface JSONStructure
- All Known Implementing Classes:
JSONArray,JSONObject
public interface JSONStructure
According to JSON Grammar, there are two
structural elements in JSON - objects and arrays. This interface represents both of them.
-
Method Summary
Modifier and TypeMethodDescriptionSerialize given JSON structure to string.voidwriteJSONString(Writer writer) Serialize this JSON structure to aWriter.
-
Method Details
-
toJSONString
-
writeJSONString
Serialize this JSON structure to aWriter.- Parameters:
writer-- Throws:
IOException
-