Overview of Klaxon APIs
masterKlaxon provides four distinct APIs depending on whether you need to stream data, query specific parts of a document, or manipulate JSON directly. Choose the API that best fits your performance and functional requirements:
| API | Streaming | Query | Manipulation |
|---|---|---|---|
| Object binding API | No | No | Kotlin objects |
| Streaming API | Yes | No | Kotlin objects and JsonObject/JsonArray |
| Low level API | No | Yes | Kotlin objects |
| JSON Path query API | Yes | Yes | JsonObject/JsonArray |